HEX atlas value

#338628

#338628 is a cool green HEX color close to Forest Green. According to Colors Encyclopedia, it converts to RGB 51, 134, 40, HSL 113, 54%, 34%, has luminance 0.1791, and belongs to the earth tone and jewel tone groups.

#338628 Sample readable text
HEX #338628
RGB rgb(51, 134, 40)
HSL hsl(113 54% 34%)
CMYK cmyk(62, 0, 70, 47)
Luminance 0.1791
Contrast Black 4.58:1White 4.58:1

CSS

--color-338628: #338628;
.background-338628 { background-color: #338628; }
.text-338628 { color: #338628; }

Machine-readable data

Machine-Readable HEX Data (JSON)

Structured HEX color data for conversion, WCAG checks, CSS generation, automation, and AI ingestion.

AI-Ready Dataset v1.0.0
Luminance0.1791
Black text4.58:1AA Pass
White text4.58:1AA Pass
hexCanonical HEX value
rgbRed, green, blue channels
hslHue, saturation, lightness
cmykApproximate print conversion
wcagAA and AAA contrast options
harmoniesMathematical harmony sets
variantsGenerated tone variants
nearestColorsKnowledge graph neighbors
Download JSON Open API
Structured sections
Color systems
{"hex":"#338628","rgb":[51,134,40],"hsl":[113,54,34],"cmyk":[62,0,70,47],"luminance":0.1791,"contrast":{"black":4.58,"white":4.58}}
WCAG
{"AA":["#000000","#FFFFFF"],"AAA":[]}
Safe pairings
[{"name":"Black text","hex":"#000000","contrast":4.58,"wcagAA":true,"wcagAAA":false},{"name":"White text","hex":"#FFFFFF","contrast":4.58,"wcagAA":true,"wcagAAA":false}]
Accessible alternatives
[{"name":"#183F13","hex":"#183F13","family":"green","bestTextColor":"#FFFFFF","contrastBlack":1.76,"contrastWhite":11.93,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"#52C743","hex":"#52C743","family":"green","bestTextColor":"#000000","contrastBlack":9.61,"contrastWhite":2.19,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A"]},{"name":"#7B2886","hex":"#7B2886","family":"pink","bestTextColor":"#FFFFFF","contrastBlack":2.49,"contrastWhite":8.43,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"Hunter Green","hex":"#355E3B","family":"green","bestTextColor":"#FFFFFF","contrastBlack":2.82,"contrastWhite":7.46,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF"]},{"name":"Dark Olive Green","hex":"#556B2F","family":"green","bestTextColor":"#FFFFFF","contrastBlack":3.53,"contrastWhite":5.95,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":[]}]
AI context
{"semanticGroups":["cool green","earth tone","jewel tone","earth tone green","jewel tone green","Forest Green adjacent"],"useCases":["color conversion","WCAG contrast checks","CSS color tokens","natural palettes","rich accent palettes","botanical and wellness palettes"],"contrastSafeWith":["#000000","#FFFFFF"],"relatedEndpoints":["https://www.colorsencyclopedia.com/api/hex/338628.json","https://www.colorsencyclopedia.com/api/hex.json","https://www.colorsencyclopedia.com/api/colors/forest-green.json","https://www.colorsencyclopedia.com/api/colors/fern-green.json","https://www.colorsencyclopedia.com/api/colors/dark-olive-green.json"]}
Harmonies
{"complementary":"#7B2886","analogous":["#628628","#28864C"],"triadic":["#283386","#862833"],"tetradic":["#286286","#7B2886","#864C28"],"splitComplementary":["#4C2886","#862862"],"monochromatic":["#52C743","#338628","#183F13"]}
Variants
{"light":"#52C743","dark":"#183F13","saturated":"#249915","desaturated":"#41723B","pastel":"#77BF6E","neon":"#19D600"}
Nearest named colors
[{"slug":"forest-green","name":"Forest Green","hex":"#228B22","distance":18.708286933869708},{"slug":"fern-green","name":"Fern Green","hex":"#4F7942","distance":40.36087214122113},{"slug":"dark-olive-green","name":"Dark Olive Green","hex":"#556B2F","distance":43.977266854592045},{"slug":"hunter-green","name":"Hunter Green","hex":"#355E3B","distance":44.328320518603},{"slug":"scheeles-green","name":"Scheele Green","hex":"#478800","distance":44.76605857119878}]

HEX meaning and use

About #338628

#338628 is classified as a cool green value with earth tone and jewel tone visual character. #338628 is visually closest to Forest Green, a named green color with HEX #228B22.

The RGB channels are 51, 134, and 40, with green carrying the strongest channel weight. In HSL, the hue is 113deg with 54% saturation and 34% lightness, so this page treats it as a moderate-saturation, mid-lightness atlas color rather than a generic swatch.

According to Colors Encyclopedia, this HEX value works best for color conversion, WCAG contrast checks, CSS color tokens, and natural palettes. Its luminance is 0.1791, black text provides the stronger contrast for readable interface or documentation use, and Its nearest named-color distance is 18.71, which helps separate this atlas value from adjacent named color records.

WCAG Accessibility

Black text4.58:1AA Pass
White text4.58:1AA Pass

AA text options: #000000, #FFFFFF.

AAA text options: none in seed set.

Accessibility-Safe Pairings and Alternatives

Use these pairings when #338628 needs readable text, badges, interface states, or nearby accessible alternatives.

Black text#0000004.58:1 · AA
White text#FFFFFF4.58:1 · AA

Accessible Alternatives

#183F13#FFFFFF text · best 11.93:1#183F13
#52C743#000000 text · best 9.61:1#52C743
#7B2886#FFFFFF text · best 8.43:1#7B2886
Hunter Green#FFFFFF text · best 7.46:1#355E3B
Dark Olive Green#FFFFFF text · best 5.95:1#556B2F

Generated Palette

#338628#338628
#7B2886#7B2886
#628628#628628
#28864C#28864C
#52C743#52C743
#183F13#183F13

Color Harmonies

#7B2886#7B2886
#628628#628628
#28864C#28864C
#283386#283386
#862833#862833

Variants

#52C743#52C743
#183F13#183F13
#249915#249915
#41723B#41723B
#77BF6E#77BF6E
#19D600#19D600

Nearest Named Colors