#297513#297513
#297513 is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.6% C 0.148 H 140.0°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #297513 |
|---|---|
| RGB | rgb(41, 117, 19) |
| HSL | hsl(107, 72%, 27%) |
| HSV | hsv(107, 84%, 46%) |
| CMYK | cmyk(65%, 0%, 83.8%, 54.1%) |
| CIE-LAB | lab(43.12, -41.41, 43.03) |
| CIE-LCH | lch(43.12, 59.72, 133.90°) |
| OKLab | oklab(49.61% -0.1137 0.0954) |
| OKLCH | oklch(49.61% 0.148 140) |
| XYZ | xyz(7.3929, 13.2403, 2.7820) |
| Luminance | 0.1324 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.11
Green
#008000
ΔE00 4.36
Dark Grass Green
#388004
ΔE00 4.75
Darkish Green
#287C37
ΔE00 5.60
Darkgreen
#006400
ΔE00 6.14
Forestgreen (CSS)
#228B22
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#297513 #5F1375
analogous
#5A7513 #297513 #13752E
triadic
#297513 #132975 #751329
tetradic
#297513 #135A75 #5F1375 #752E13
square
#297513 #135A75 #5F1375 #752E13
split-complementary
#297513 #2E1375 #75135A
monochromatic
#091A04 #17400A #297513 #3BAA1C #4FDC27
Accessibility & contrast
On white
5.76
#297513 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#297513 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #297513
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##297513 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##297513 | 1.00 | 5.76 | 3.65 | 5.76 |
| #FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#786A00
Deuteranopia (green-blind)
#6F641F
Tritanopia (blue-blind)
#1E7163
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #297513; /* rgb */ color: rgb(41, 117, 19); /* oklch */ color: oklch(49.6% 0.148 140.0);
Tailwind
colors: {
custom: {
50: '#6e9e5a',
500: '#297513',
950: '#000000',
},
}SCSS
$custom: #297513; $custom-light: #6e9e5a; $custom-dark: #000000;
JSON
{
"hex": "#297513",
"rgb": {
"r": 41,
"g": 117,
"b": 19
},
"hsl": {
"h": 106.531,
"s": 72.059,
"l": 26.667
},
"oklch": {
"l": 0.49607,
"c": 0.14845,
"h": 140
},
"luminance": 0.13241
}Semantic roles & 50–950 ramp
primary
#297513
secondary
#9238AB
accent
#39EFC6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79