#297230#297230
#297230 is a mid, vivid green. Relative luminance 0.127; OKLCH L 49.0% C 0.123 H 145.0°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #297230 |
|---|---|
| RGB | rgb(41, 114, 48) |
| HSL | hsl(126, 47%, 30%) |
| HSV | hsv(126, 64%, 45%) |
| CMYK | cmyk(64%, 0%, 57.9%, 55.3%) |
| CIE-LAB | lab(42.34, -37.33, 29.65) |
| CIE-LCH | lch(42.34, 47.67, 141.54°) |
| OKLab | oklab(49.04% -0.1011 0.0707) |
| OKLCH | oklch(49.04% 0.123 145) |
| XYZ | xyz(7.4648, 12.7187, 4.8573) |
| Luminance | 0.1272 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.47
Tree Green
#2A7E19
ΔE00 6.33
Jungle Green
#048243
ΔE00 6.34
Darkgreen
#006400
ΔE00 6.93
Green
#008000
ΔE00 7.92
Forest Green
#2D5A27
ΔE00 8.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#297230 #72296B
analogous
#477229 #297230 #297254
triadic
#297230 #302972 #723029
tetradic
#297230 #294772 #72296B #725429
square
#297230 #294772 #72296B #725429
split-complementary
#297230 #542972 #722947
monochromatic
#09180A #19451D #297230 #399F43 #54C15E
Accessibility & contrast
On white
5.93
#297230 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#297230 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #297230
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##297230 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##297230 | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#74682A
Deuteranopia (green-blind)
#6B6135
Tritanopia (blue-blind)
#196F63
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #297230; /* rgb */ color: rgb(41, 114, 48); /* oklch */ color: oklch(49.0% 0.123 145.0);
Tailwind
colors: {
custom: {
50: '#6c9b6a',
500: '#297230',
950: '#000000',
},
}SCSS
$custom: #297230; $custom-light: #6c9b6a; $custom-dark: #000000;
JSON
{
"hex": "#297230",
"rgb": {
"r": 41,
"g": 114,
"b": 48
},
"hsl": {
"h": 125.753,
"s": 47.097,
"l": 30.392
},
"oklch": {
"l": 0.49037,
"c": 0.12334,
"h": 145
},
"luminance": 0.12719
}Semantic roles & 50–950 ramp
primary
#297230
secondary
#A4539C
accent
#51CAD7
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A