#298F2A#298F2A
#298F2A is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.1% C 0.166 H 143.1°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #298F2A |
|---|---|
| RGB | rgb(41, 143, 42) |
| HSL | hsl(121, 55%, 36%) |
| HSV | hsv(121, 71%, 56%) |
| CMYK | cmyk(71.3%, 0%, 70.6%, 43.9%) |
| CIE-LAB | lab(52.15, -48.98, 43.50) |
| CIE-LCH | lch(52.15, 65.50, 138.39°) |
| OKLab | oklab(57.14% -0.1329 0.0997) |
| OKLCH | oklch(57.14% 0.166 143.1) |
| XYZ | xyz(11.1542, 20.2823, 5.5171) |
| Luminance | 0.2028 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.62
Emerald Green
#028F1E
ΔE00 1.76
Irish Green
#019529
ΔE00 2.40
Kelley Green
#009337
ΔE00 2.91
True Green
#089404
ΔE00 3.54
Fern Green
#548D44
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#298F2A #8F298E
analogous
#5B8F29 #298F2A #298F5D
triadic
#298F2A #2A298F #8F2A29
tetradic
#298F2A #295B8F #8F298E #8F5D29
square
#298F2A #295B8F #8F298E #8F5D29
split-complementary
#298F2A #5D298F #8F295B
monochromatic
#0E300E #1B5F1C #298F2A #37BF38 #61D262
Accessibility & contrast
On white
4.15
#298F2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.06
#298F2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #298F2A
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##298F2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##298F2A | 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)
#92811B
Deuteranopia (green-blind)
#867934
Tritanopia (blue-blind)
#098B7B
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #298f2a; /* rgb */ color: rgb(41, 143, 42); /* oklch */ color: oklch(57.1% 0.166 143.1);
Tailwind
colors: {
custom: {
50: '#72b169',
500: '#298f2a',
950: '#000000',
},
}SCSS
$custom: #298f2a; $custom-light: #72b169; $custom-dark: #000000;
JSON
{
"hex": "#298f2a",
"rgb": {
"r": 41,
"g": 143,
"b": 42
},
"hsl": {
"h": 120.588,
"s": 55.435,
"l": 36.078
},
"oklch": {
"l": 0.57139,
"c": 0.16614,
"h": 143.1
},
"luminance": 0.20284
}Semantic roles & 50–950 ramp
primary
#298F2A
secondary
#B75CB6
accent
#49DDDF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A