#298D2E#298D2E
#298D2E is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.6% C 0.161 H 143.8°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #298D2E |
|---|---|
| RGB | rgb(41, 141, 46) |
| HSL | hsl(123, 55%, 36%) |
| HSV | hsv(123, 71%, 55%) |
| CMYK | cmyk(70.9%, 0%, 67.4%, 44.7%) |
| CIE-LAB | lab(51.52, -47.86, 41.09) |
| CIE-LCH | lch(51.52, 63.08, 139.35°) |
| OKLab | oklab(56.62% -0.1297 0.0951) |
| OKLCH | oklch(56.62% 0.161 143.8) |
| XYZ | xyz(10.9318, 19.7172, 5.8139) |
| Luminance | 0.1972 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.56
Emerald Green
#028F1E
ΔE00 2.25
Kelley Green
#009337
ΔE00 2.85
Irish Green
#019529
ΔE00 3.06
True Green
#089404
ΔE00 4.46
Fern Green
#548D44
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#298D2E #8D2988
analogous
#568D29 #298D2E #298D60
triadic
#298D2E #2E298D #8D2E29
tetradic
#298D2E #29568D #8D2988 #8D6029
square
#298D2E #29568D #8D2988 #8D6029
split-complementary
#298D2E #60298D #8D2956
monochromatic
#0D2E0F #1B5E1F #298D2E #37BC3D #60D165
Accessibility & contrast
On white
4.25
#298D2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.94
#298D2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #298D2E
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##298D2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##298D2E | 1.00 | 4.25 | 4.94 | 4.94 |
| #FFFFFF | 4.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#908022
Deuteranopia (green-blind)
#847837
Tritanopia (blue-blind)
#088979
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #298d2e; /* rgb */ color: rgb(41, 141, 46); /* oklch */ color: oklch(56.6% 0.161 143.8);
Tailwind
colors: {
custom: {
50: '#72af6b',
500: '#298d2e',
950: '#000000',
},
}SCSS
$custom: #298d2e; $custom-light: #72af6b; $custom-dark: #000000;
JSON
{
"hex": "#298d2e",
"rgb": {
"r": 41,
"g": 141,
"b": 46
},
"hsl": {
"h": 123,
"s": 54.945,
"l": 35.686
},
"oklch": {
"l": 0.5662,
"c": 0.16081,
"h": 143.8
},
"luminance": 0.19718
}Semantic roles & 50–950 ramp
primary
#298D2E
secondary
#B65BB2
accent
#4AD7DE
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091007
muted
#7B7F7A