#298F2F#298F2F
#298F2F is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.2% C 0.163 H 143.9°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #298F2F |
|---|---|
| RGB | rgb(41, 143, 47) |
| HSL | hsl(124, 55%, 36%) |
| HSV | hsv(124, 71%, 56%) |
| CMYK | cmyk(71.3%, 0%, 67.1%, 43.9%) |
| CIE-LAB | lab(52.20, -48.47, 41.40) |
| CIE-LCH | lch(52.20, 63.74, 139.50°) |
| OKLab | oklab(57.19% -0.1313 0.0958) |
| OKLCH | oklch(57.19% 0.163 143.9) |
| XYZ | xyz(11.2493, 20.3204, 6.0181) |
| Luminance | 0.2032 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.98
Emerald Green
#028F1E
ΔE00 2.18
Kelley Green
#009337
ΔE00 2.44
Irish Green
#019529
ΔE00 2.49
True Green
#089404
ΔE00 4.14
Fern Green
#548D44
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#298F2F #8F2989
analogous
#568F29 #298F2F #298F62
triadic
#298F2F #2F298F #8F2F29
tetradic
#298F2F #29568F #8F2989 #8F6229
square
#298F2F #29568F #8F2989 #8F6229
split-complementary
#298F2F #62298F #8F2956
monochromatic
#0E3010 #1B5F1F #298F2F #37BF3F #61D267
Accessibility & contrast
On white
4.15
#298F2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.06
#298F2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #298F2F
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##298F2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##298F2F | 1.00 | 4.15 | 5.06 | 5.06 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928123
Deuteranopia (green-blind)
#867938
Tritanopia (blue-blind)
#068B7B
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #298f2f; /* rgb */ color: rgb(41, 143, 47); /* oklch */ color: oklch(57.2% 0.163 143.9);
Tailwind
colors: {
custom: {
50: '#72b16c',
500: '#298f2f',
950: '#000000',
},
}SCSS
$custom: #298f2f; $custom-light: #72b16c; $custom-dark: #000000;
JSON
{
"hex": "#298f2f",
"rgb": {
"r": 41,
"g": 143,
"b": 47
},
"hsl": {
"h": 123.529,
"s": 55.435,
"l": 36.078
},
"oklch": {
"l": 0.57188,
"c": 0.16254,
"h": 143.9
},
"luminance": 0.20322
}Semantic roles & 50–950 ramp
primary
#298F2F
secondary
#B75CB2
accent
#49D6DF
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A