#298F1D#298F1D
#298F1D is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.0% C 0.174 H 141.7°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #298F1D |
|---|---|
| RGB | rgb(41, 143, 29) |
| HSL | hsl(114, 66%, 34%) |
| HSV | hsv(114, 80%, 56%) |
| CMYK | cmyk(71.3%, 0%, 79.7%, 43.9%) |
| CIE-LAB | lab(52.07, -50.04, 48.29) |
| CIE-LCH | lch(52.07, 69.54, 136.02°) |
| OKLab | oklab(57.04% -0.1365 0.1079) |
| OKLCH | oklch(57.04% 0.174 141.7) |
| XYZ | xyz(10.9581, 20.2039, 4.4844) |
| Luminance | 0.2021 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 1.73
Forestgreen (CSS)
#228B22
ΔE00 1.82
True Green
#089404
ΔE00 2.44
Irish Green
#019529
ΔE00 2.88
Kelley Green
#009337
ΔE00 4.20
Grass Green
#3F9B0B
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#298F1D #831D8F
analogous
#628F1D #298F1D #1D8F4A
triadic
#298F1D #1D298F #8F1D29
tetradic
#298F1D #1D628F #831D8F #8F4A1D
square
#298F1D #1D628F #831D8F #8F4A1D
split-complementary
#298F1D #4A1D8F #8F1D62
monochromatic
#0C2908 #1A5C13 #298F1D #38C227 #5BDB4C
Accessibility & contrast
On white
4.17
#298F1D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#298F1D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #298F1D
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##298F1D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##298F1D | 1.00 | 4.17 | 5.04 | 5.04 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#87792A
Tritanopia (blue-blind)
#0E8A7A
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #298f1d; /* rgb */ color: rgb(41, 143, 29); /* oklch */ color: oklch(57.0% 0.174 141.7);
Tailwind
colors: {
custom: {
50: '#73b163',
500: '#298f1d',
950: '#000000',
},
}SCSS
$custom: #298f1d; $custom-light: #73b163; $custom-dark: #000000;
JSON
{
"hex": "#298f1d",
"rgb": {
"r": 41,
"g": 143,
"b": 29
},
"hsl": {
"h": 113.684,
"s": 66.279,
"l": 33.725
},
"oklch": {
"l": 0.57037,
"c": 0.17396,
"h": 141.7
},
"luminance": 0.20205
}Semantic roles & 50–950 ramp
primary
#298F1D
secondary
#B14BBD
accent
#3FE9D7
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A