#296F18#296F18
#296F18 is a mid, vivid green. Relative luminance 0.119; OKLCH L 47.9% C 0.138 H 140.3°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #296F18 |
|---|---|
| RGB | rgb(41, 111, 24) |
| HSL | hsl(108, 64%, 26%) |
| HSV | hsv(108, 78%, 44%) |
| CMYK | cmyk(63.1%, 0%, 78.4%, 56.5%) |
| CIE-LAB | lab(41.07, -38.78, 39.32) |
| CIE-LCH | lch(41.07, 55.22, 134.60°) |
| OKLab | oklab(47.91% -0.1063 0.0884) |
| OKLCH | oklch(47.91% 0.138 140.3) |
| XYZ | xyz(6.7634, 11.9056, 2.8056) |
| Luminance | 0.1191 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.47
Tree Green
#2A7E19
ΔE00 5.23
Darkish Green
#287C37
ΔE00 6.01
Green
#008000
ΔE00 6.48
Dark Grass Green
#388004
ΔE00 6.91
Deep Green
#02590F
ΔE00 7.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#296F18 #5E186F
analogous
#556F18 #296F18 #186F33
triadic
#296F18 #18296F #6F1829
tetradic
#296F18 #18556F #5E186F #6F3318
square
#296F18 #18556F #5E186F #6F3318
split-complementary
#296F18 #33186F #6F1855
monochromatic
#091905 #163D0D #296F18 #3CA123 #4FD22F
Accessibility & contrast
On white
6.21
#296F18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#296F18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #296F18
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##296F18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##296F18 | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726406
Deuteranopia (green-blind)
#6A5F21
Tritanopia (blue-blind)
#1F6B5E
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #296f18; /* rgb */ color: rgb(41, 111, 24); /* oklch */ color: oklch(47.9% 0.138 140.3);
Tailwind
colors: {
custom: {
50: '#6c995c',
500: '#296f18',
950: '#000000',
},
}SCSS
$custom: #296f18; $custom-light: #6c995c; $custom-dark: #000000;
JSON
{
"hex": "#296f18",
"rgb": {
"r": 41,
"g": 111,
"b": 24
},
"hsl": {
"h": 108.276,
"s": 64.444,
"l": 26.471
},
"oklch": {
"l": 0.47914,
"c": 0.13831,
"h": 140.3
},
"luminance": 0.11906
}Semantic roles & 50–950 ramp
primary
#296F18
secondary
#913EA5
accent
#40E7C7
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79