#297012#297012
#297012 is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.2% C 0.143 H 139.6°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #297012 |
|---|---|
| RGB | rgb(41, 112, 18) |
| HSL | hsl(105, 72%, 25%) |
| HSV | hsv(105, 84%, 44%) |
| CMYK | cmyk(63.4%, 0%, 83.9%, 56.1%) |
| CIE-LAB | lab(41.38, -39.58, 41.72) |
| CIE-LCH | lch(41.38, 57.50, 133.49°) |
| OKLab | oklab(48.16% -0.1088 0.0925) |
| OKLCH | oklch(48.16% 0.143 139.6) |
| XYZ | xyz(6.8175, 12.1028, 2.5490) |
| Luminance | 0.1210 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.69
Tree Green
#2A7E19
ΔE00 4.81
Green
#008000
ΔE00 5.94
Dark Grass Green
#388004
ΔE00 6.26
Darkish Green
#287C37
ΔE00 6.35
Deep Green
#02590F
ΔE00 8.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#297012 #591270
analogous
#587012 #297012 #12702A
triadic
#297012 #122970 #701229
tetradic
#297012 #125870 #591270 #702A12
square
#297012 #125870 #591270 #702A12
split-complementary
#297012 #2A1270 #701258
monochromatic
#0A1A04 #163B0A #297012 #3CA51A #50D923
Accessibility & contrast
On white
6.14
#297012 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#297012 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #297012
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##297012 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##297012 | 1.00 | 6.14 | 3.42 | 6.14 |
| #FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#6B5F1D
Tritanopia (blue-blind)
#206C5F
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #297012; /* rgb */ color: rgb(41, 112, 18); /* oklch */ color: oklch(48.2% 0.143 139.6);
Tailwind
colors: {
custom: {
50: '#6d9a59',
500: '#297012',
950: '#000000',
},
}SCSS
$custom: #297012; $custom-light: #6d9a59; $custom-dark: #000000;
JSON
{
"hex": "#297012",
"rgb": {
"r": 41,
"g": 112,
"b": 18
},
"hsl": {
"h": 105.319,
"s": 72.308,
"l": 25.49
},
"oklch": {
"l": 0.48162,
"c": 0.14286,
"h": 139.6
},
"luminance": 0.12103
}Semantic roles & 50–950 ramp
primary
#297012
secondary
#8C37A7
accent
#39EFC2
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79