#297018#297018
#297018 is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.2% C 0.140 H 140.3°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #297018 |
|---|---|
| RGB | rgb(41, 112, 24) |
| HSL | hsl(108, 65%, 27%) |
| HSV | hsv(108, 79%, 44%) |
| CMYK | cmyk(63.4%, 0%, 78.6%, 56.1%) |
| CIE-LAB | lab(41.41, -39.17, 39.66) |
| CIE-LCH | lch(41.41, 55.74, 134.64°) |
| OKLab | oklab(48.2% -0.1074 0.0892) |
| OKLCH | oklch(48.2% 0.14 140.3) |
| XYZ | xyz(6.8732, 12.1251, 2.8421) |
| Luminance | 0.1213 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.72
Tree Green
#2A7E19
ΔE00 4.89
Darkish Green
#287C37
ΔE00 5.82
Green
#008000
ΔE00 6.15
Dark Grass Green
#388004
ΔE00 6.59
Deep Green
#02590F
ΔE00 8.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#297018 #5F1870
analogous
#557018 #297018 #187033
triadic
#297018 #182970 #701829
tetradic
#297018 #185570 #5F1870 #703318
square
#297018 #185570 #5F1870 #703318
split-complementary
#297018 #331870 #701855
monochromatic
#091905 #173E0D #297018 #3BA223 #4FD330
Accessibility & contrast
On white
6.13
#297018 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#297018 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #297018
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##297018 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##297018 | 1.00 | 6.13 | 3.43 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#736506
Deuteranopia (green-blind)
#6A5F21
Tritanopia (blue-blind)
#1F6C5F
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #297018; /* rgb */ color: rgb(41, 112, 24); /* oklch */ color: oklch(48.2% 0.140 140.3);
Tailwind
colors: {
custom: {
50: '#6d9a5c',
500: '#297018',
950: '#000000',
},
}SCSS
$custom: #297018; $custom-light: #6d9a5c; $custom-dark: #000000;
JSON
{
"hex": "#297018",
"rgb": {
"r": 41,
"g": 112,
"b": 24
},
"hsl": {
"h": 108.409,
"s": 64.706,
"l": 26.667
},
"oklch": {
"l": 0.48202,
"c": 0.13958,
"h": 140.3
},
"luminance": 0.12126
}Semantic roles & 50–950 ramp
primary
#297018
secondary
#923EA5
accent
#40E8C7
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79