#297112#297112
#297112 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.4% C 0.144 H 139.7°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #297112 |
|---|---|
| RGB | rgb(41, 113, 18) |
| HSL | hsl(105, 73%, 26%) |
| HSV | hsv(105, 84%, 44%) |
| CMYK | cmyk(63.7%, 0%, 84.1%, 55.7%) |
| CIE-LAB | lab(41.73, -39.96, 42.04) |
| CIE-LCH | lch(41.73, 58.00, 133.54°) |
| OKLab | oklab(48.45% -0.1099 0.0932) |
| OKLCH | oklch(48.45% 0.144 139.7) |
| XYZ | xyz(6.9285, 12.3247, 2.5859) |
| Luminance | 0.1232 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.47
Darkgreen
#006400
ΔE00 4.97
Green
#008000
ΔE00 5.62
Dark Grass Green
#388004
ΔE00 5.95
Darkish Green
#287C37
ΔE00 6.19
Deep Green
#02590F
ΔE00 8.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#297112 #5A1271
analogous
#587112 #297112 #12712B
triadic
#297112 #122971 #711229
tetradic
#297112 #125871 #5A1271 #712B12
square
#297112 #125871 #5A1271 #712B12
split-complementary
#297112 #2B1271 #711258
monochromatic
#0A1A04 #163C0A #297112 #3CA61A #4FDB23
Accessibility & contrast
On white
6.06
#297112 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#297112 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #297112
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##297112 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##297112 | 1.00 | 6.06 | 3.47 | 6.06 |
| #FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#746600
Deuteranopia (green-blind)
#6C601E
Tritanopia (blue-blind)
#206D60
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #297112; /* rgb */ color: rgb(41, 113, 18); /* oklch */ color: oklch(48.4% 0.144 139.7);
Tailwind
colors: {
custom: {
50: '#6d9b59',
500: '#297112',
950: '#000000',
},
}SCSS
$custom: #297112; $custom-light: #6d9b59; $custom-dark: #000000;
JSON
{
"hex": "#297112",
"rgb": {
"r": 41,
"g": 113,
"b": 18
},
"hsl": {
"h": 105.474,
"s": 72.519,
"l": 25.686
},
"oklch": {
"l": 0.4845,
"c": 0.14409,
"h": 139.7
},
"luminance": 0.12325
}Semantic roles & 50–950 ramp
primary
#297112
secondary
#8D37A8
accent
#39EFC3
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79