#297015#297015
#297015 is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.2% C 0.141 H 139.9°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #297015 |
|---|---|
| RGB | rgb(41, 112, 21) |
| HSL | hsl(107, 68%, 26%) |
| HSV | hsv(107, 81%, 44%) |
| CMYK | cmyk(63.4%, 0%, 81.2%, 56.1%) |
| CIE-LAB | lab(41.40, -39.38, 40.73) |
| CIE-LCH | lch(41.40, 56.66, 134.04°) |
| OKLab | oklab(48.18% -0.1081 0.0909) |
| OKLCH | oklch(48.18% 0.141 139.9) |
| XYZ | xyz(6.8437, 12.1133, 2.6868) |
| Luminance | 0.1211 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.69
Tree Green
#2A7E19
ΔE00 4.83
Green
#008000
ΔE00 6.03
Darkish Green
#287C37
ΔE00 6.10
Dark Grass Green
#388004
ΔE00 6.41
Deep Green
#02590F
ΔE00 8.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#297015 #5C1570
analogous
#567015 #297015 #15702E
triadic
#297015 #152970 #701529
tetradic
#297015 #155670 #5C1570 #702E15
square
#297015 #155670 #5C1570 #702E15
split-complementary
#297015 #2E1570 #701556
monochromatic
#091A05 #163C0B #297015 #3CA41F #4FD729
Accessibility & contrast
On white
6.14
#297015 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#297015 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #297015
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##297015 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##297015 | 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)
#6B5F1F
Tritanopia (blue-blind)
#1F6C5F
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #297015; /* rgb */ color: rgb(41, 112, 21); /* oklch */ color: oklch(48.2% 0.141 139.9);
Tailwind
colors: {
custom: {
50: '#6d9a5a',
500: '#297015',
950: '#000000',
},
}SCSS
$custom: #297015; $custom-light: #6d9a5a; $custom-dark: #000000;
JSON
{
"hex": "#297015",
"rgb": {
"r": 41,
"g": 112,
"b": 21
},
"hsl": {
"h": 106.813,
"s": 68.421,
"l": 26.078
},
"oklch": {
"l": 0.48181,
"c": 0.1413,
"h": 139.9
},
"luminance": 0.12114
}Semantic roles & 50–950 ramp
primary
#297015
secondary
#8F3BA6
accent
#3DEBC5
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79