#338E2E#338E2E
#338E2E is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.2% C 0.158 H 142.4°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #338E2E |
|---|---|
| RGB | rgb(51, 142, 46) |
| HSL | hsl(117, 51%, 37%) |
| HSV | hsv(117, 68%, 56%) |
| CMYK | cmyk(64.1%, 0%, 67.6%, 44.3%) |
| CIE-LAB | lab(52.11, -46.08, 41.82) |
| CIE-LCH | lch(52.11, 62.23, 137.77°) |
| OKLab | oklab(57.19% -0.1254 0.0966) |
| OKLCH | oklch(57.19% 0.158 142.4) |
| XYZ | xyz(11.5308, 20.2459, 5.8844) |
| Luminance | 0.2025 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.94
Emerald Green
#028F1E
ΔE00 2.61
Irish Green
#019529
ΔE00 3.14
Kelley Green
#009337
ΔE00 3.31
True Green
#089404
ΔE00 4.24
Fern Green
#548D44
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#338E2E #892E8E
analogous
#638E2E #338E2E #2E8E59
triadic
#338E2E #2E338E #8E2E33
tetradic
#338E2E #2E638E #892E8E #8E592E
square
#338E2E #2E638E #892E8E #8E592E
split-complementary
#338E2E #592E8E #8E2E63
monochromatic
#123210 #22601F #338E2E #44BC3D #6ECE68
Accessibility & contrast
On white
4.16
#338E2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.05
#338E2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #338E2E
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##338E2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##338E2E | 1.00 | 4.16 | 5.05 | 5.05 |
| #FFFFFF | 4.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918121
Deuteranopia (green-blind)
#867937
Tritanopia (blue-blind)
#228A7A
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #338e2e; /* rgb */ color: rgb(51, 142, 46); /* oklch */ color: oklch(57.2% 0.158 142.4);
Tailwind
colors: {
custom: {
50: '#76b06b',
500: '#338e2e',
950: '#000000',
},
}SCSS
$custom: #338e2e; $custom-light: #76b06b; $custom-dark: #000000;
JSON
{
"hex": "#338e2e",
"rgb": {
"r": 51,
"g": 142,
"b": 46
},
"hsl": {
"h": 116.875,
"s": 51.064,
"l": 36.863
},
"oklch": {
"l": 0.5719,
"c": 0.15827,
"h": 142.4
},
"luminance": 0.20247
}Semantic roles & 50–950 ramp
primary
#338E2E
secondary
#B163B5
accent
#4DDBD3
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091007
muted
#7B7F7A