#296F1F#296F1F
#296F1F is a mid, vivid green. Relative luminance 0.119; OKLCH L 48.0% C 0.134 H 141.3°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #296F1F |
|---|---|
| RGB | rgb(41, 111, 31) |
| HSL | hsl(113, 56%, 28%) |
| HSV | hsv(113, 72%, 44%) |
| CMYK | cmyk(63.1%, 0%, 72.1%, 56.5%) |
| CIE-LAB | lab(41.12, -38.17, 36.51) |
| CIE-LCH | lch(41.12, 52.81, 136.27°) |
| OKLab | oklab(47.97% -0.1043 0.0836) |
| OKLCH | oklch(47.97% 0.134 141.3) |
| XYZ | xyz(6.8459, 11.9386, 3.2397) |
| Luminance | 0.1194 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.74
Darkish Green
#287C37
ΔE00 5.38
Tree Green
#2A7E19
ΔE00 5.52
Green
#008000
ΔE00 6.89
Dark Grass Green
#388004
ΔE00 7.46
Deep Green
#02590F
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#296F1F #651F6F
analogous
#516F1F #296F1F #1F6F3D
triadic
#296F1F #1F296F #6F1F29
tetradic
#296F1F #1F516F #651F6F #6F3D1F
square
#296F1F #1F516F #651F6F #6F3D1F
split-complementary
#296F1F #3D1F6F #6F1F51
monochromatic
#091807 #173F12 #296F1F #3B9F2C #50C93F
Accessibility & contrast
On white
6.20
#296F1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#296F1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #296F1F
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##296F1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##296F1F | 1.00 | 6.20 | 3.39 | 6.20 |
| #FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726513
Deuteranopia (green-blind)
#695F27
Tritanopia (blue-blind)
#1E6B5F
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #296f1f; /* rgb */ color: rgb(41, 111, 31); /* oklch */ color: oklch(48.0% 0.134 141.3);
Tailwind
colors: {
custom: {
50: '#6c995f',
500: '#296f1f',
950: '#000000',
},
}SCSS
$custom: #296f1f; $custom-light: #6c995f; $custom-dark: #000000;
JSON
{
"hex": "#296f1f",
"rgb": {
"r": 41,
"g": 111,
"b": 31
},
"hsl": {
"h": 112.5,
"s": 56.338,
"l": 27.843
},
"oklch": {
"l": 0.47974,
"c": 0.13361,
"h": 141.3
},
"luminance": 0.11939
}Semantic roles & 50–950 ramp
primary
#296F1F
secondary
#9747A3
accent
#48E0CD
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79