#298F1E#298F1E
#298F1E is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.0% C 0.173 H 141.8°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #298F1E |
|---|---|
| RGB | rgb(41, 143, 30) |
| HSL | hsl(114, 65%, 34%) |
| HSV | hsv(114, 79%, 56%) |
| CMYK | cmyk(71.3%, 0%, 79%, 43.9%) |
| CIE-LAB | lab(52.07, -49.97, 47.96) |
| CIE-LCH | lch(52.07, 69.26, 136.18°) |
| OKLab | oklab(57.04% -0.1362 0.1074) |
| OKLCH | oklch(57.04% 0.173 141.8) |
| XYZ | xyz(10.9706, 20.2089, 4.5506) |
| Luminance | 0.2021 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 1.69
Forestgreen (CSS)
#228B22
ΔE00 1.76
True Green
#089404
ΔE00 2.50
Irish Green
#019529
ΔE00 2.82
Kelley Green
#009337
ΔE00 4.10
Grass Green
#3F9B0B
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#298F1E #841E8F
analogous
#628F1E #298F1E #1E8F4C
triadic
#298F1E #1E298F #8F1E29
tetradic
#298F1E #1E628F #841E8F #8F4C1E
square
#298F1E #1E628F #841E8F #8F4C1E
split-complementary
#298F1E #4C1E8F #8F1E62
monochromatic
#0C2A09 #1A5C13 #298F1E #38C229 #5BDA4E
Accessibility & contrast
On white
4.17
#298F1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#298F1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #298F1E
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##298F1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##298F1E | 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)
#938101
Deuteranopia (green-blind)
#87792B
Tritanopia (blue-blind)
#0E8A7A
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #298f1e; /* rgb */ color: rgb(41, 143, 30); /* oklch */ color: oklch(57.0% 0.173 141.8);
Tailwind
colors: {
custom: {
50: '#73b163',
500: '#298f1e',
950: '#000000',
},
}SCSS
$custom: #298f1e; $custom-light: #73b163; $custom-dark: #000000;
JSON
{
"hex": "#298f1e",
"rgb": {
"r": 41,
"g": 143,
"b": 30
},
"hsl": {
"h": 114.159,
"s": 65.318,
"l": 33.922
},
"oklch": {
"l": 0.57044,
"c": 0.17344,
"h": 141.8
},
"luminance": 0.2021
}Semantic roles & 50–950 ramp
primary
#298F1E
secondary
#B24CBC
accent
#40E8D8
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A