#297C1A#297C1A
#297C1A is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.7% C 0.153 H 141.0°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #297C1A |
|---|---|
| RGB | rgb(41, 124, 26) |
| HSL | hsl(111, 65%, 29%) |
| HSV | hsv(111, 79%, 49%) |
| CMYK | cmyk(66.9%, 0%, 79%, 51.4%) |
| CIE-LAB | lab(45.58, -43.53, 43.03) |
| CIE-LCH | lch(45.58, 61.21, 135.33°) |
| OKLab | oklab(51.65% -0.119 0.0965) |
| OKLCH | oklch(51.65% 0.153 141) |
| XYZ | xyz(8.3081, 14.9605, 3.4269) |
| Luminance | 0.1496 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.76
Green
#008000
ΔE00 2.76
Dark Grass Green
#388004
ΔE00 3.41
Darkish Green
#287C37
ΔE00 4.72
Forestgreen (CSS)
#228B22
ΔE00 5.31
Emerald Green
#028F1E
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#297C1A #6D1A7C
analogous
#5A7C1A #297C1A #1A7C3C
triadic
#297C1A #1A297C #7C1A29
tetradic
#297C1A #1A5A7C #6D1A7C #7C3C1A
square
#297C1A #1A5A7C #6D1A7C #7C3C1A
split-complementary
#297C1A #3C1A7C #7C1A5A
monochromatic
#081905 #18490F #297C1A #3AAF25 #52D63B
Accessibility & contrast
On white
5.26
#297C1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#297C1A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #297C1A
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##297C1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##297C1A | 1.00 | 5.26 | 3.99 | 5.26 |
| #FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7004
Deuteranopia (green-blind)
#756925
Tritanopia (blue-blind)
#1A7869
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #297c1a; /* rgb */ color: rgb(41, 124, 26); /* oklch */ color: oklch(51.7% 0.153 141.0);
Tailwind
colors: {
custom: {
50: '#6fa35e',
500: '#297c1a',
950: '#000000',
},
}SCSS
$custom: #297c1a; $custom-light: #6fa35e; $custom-dark: #000000;
JSON
{
"hex": "#297c1a",
"rgb": {
"r": 41,
"g": 124,
"b": 26
},
"hsl": {
"h": 110.816,
"s": 65.333,
"l": 29.412
},
"oklch": {
"l": 0.51653,
"c": 0.15324,
"h": 141
},
"luminance": 0.14961
}Semantic roles & 50–950 ramp
primary
#297C1A
secondary
#9F42B0
accent
#40E8CE
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79