#298F2E#298F2E
#298F2E is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.2% C 0.163 H 143.7°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #298F2E |
|---|---|
| RGB | rgb(41, 143, 46) |
| HSL | hsl(123, 55%, 36%) |
| HSV | hsv(123, 71%, 56%) |
| CMYK | cmyk(71.3%, 0%, 67.8%, 43.9%) |
| CIE-LAB | lab(52.19, -48.57, 41.83) |
| CIE-LCH | lch(52.19, 64.10, 139.27°) |
| OKLab | oklab(57.18% -0.1316 0.0966) |
| OKLCH | oklch(57.18% 0.163 143.7) |
| XYZ | xyz(11.2294, 20.3124, 5.9131) |
| Luminance | 0.2031 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.89
Emerald Green
#028F1E
ΔE00 2.08
Irish Green
#019529
ΔE00 2.46
Kelley Green
#009337
ΔE00 2.53
True Green
#089404
ΔE00 4.01
Fern Green
#548D44
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#298F2E #8F298A
analogous
#578F29 #298F2E #298F61
triadic
#298F2E #2E298F #8F2E29
tetradic
#298F2E #29578F #8F298A #8F6129
square
#298F2E #29578F #8F298A #8F6129
split-complementary
#298F2E #61298F #8F2957
monochromatic
#0E300F #1B5F1F #298F2E #37BF3D #61D266
Accessibility & contrast
On white
4.15
#298F2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.06
#298F2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #298F2E
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##298F2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##298F2E | 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)
#928121
Deuteranopia (green-blind)
#867937
Tritanopia (blue-blind)
#068B7B
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #298f2e; /* rgb */ color: rgb(41, 143, 46); /* oklch */ color: oklch(57.2% 0.163 143.7);
Tailwind
colors: {
custom: {
50: '#72b16b',
500: '#298f2e',
950: '#000000',
},
}SCSS
$custom: #298f2e; $custom-light: #72b16b; $custom-dark: #000000;
JSON
{
"hex": "#298f2e",
"rgb": {
"r": 41,
"g": 143,
"b": 46
},
"hsl": {
"h": 122.941,
"s": 55.435,
"l": 36.078
},
"oklch": {
"l": 0.57177,
"c": 0.16329,
"h": 143.7
},
"luminance": 0.20314
}Semantic roles & 50–950 ramp
primary
#298F2E
secondary
#B75CB3
accent
#49D7DF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A