#298A1E#298A1E
#298A1E is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.6% C 0.168 H 141.7°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #298A1E |
|---|---|
| RGB | rgb(41, 138, 30) |
| HSL | hsl(114, 64%, 33%) |
| HSV | hsv(114, 78%, 54%) |
| CMYK | cmyk(70.3%, 0%, 78.3%, 45.9%) |
| CIE-LAB | lab(50.38, -48.24, 46.31) |
| CIE-LCH | lch(50.38, 66.88, 136.17°) |
| OKLab | oklab(55.64% -0.1316 0.1039) |
| OKLCH | oklch(55.64% 0.168 141.7) |
| XYZ | xyz(10.2367, 18.7410, 4.3059) |
| Luminance | 0.1874 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.82
Emerald Green
#028F1E
ΔE00 2.26
True Green
#089404
ΔE00 3.98
Irish Green
#019529
ΔE00 4.12
Tree Green
#2A7E19
ΔE00 4.26
Green
#008000
ΔE00 4.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#298A1E #7F1E8A
analogous
#5F8A1E #298A1E #1E8A49
triadic
#298A1E #1E298A #8A1E29
tetradic
#298A1E #1E5F8A #7F1E8A #8A491E
square
#298A1E #1E5F8A #7F1E8A #8A491E
split-complementary
#298A1E #491E8A #8A1E5F
monochromatic
#0B2508 #1A5813 #298A1E #38BC29 #59D84B
Accessibility & contrast
On white
4.42
#298A1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.75
#298A1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #298A1E
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##298A1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##298A1E | 1.00 | 4.42 | 4.75 | 4.75 |
| #FFFFFF | 4.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7D04
Deuteranopia (green-blind)
#82752A
Tritanopia (blue-blind)
#128676
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #298a1e; /* rgb */ color: rgb(41, 138, 30); /* oklch */ color: oklch(55.6% 0.168 141.7);
Tailwind
colors: {
custom: {
50: '#72ad62',
500: '#298a1e',
950: '#000000',
},
}SCSS
$custom: #298a1e; $custom-light: #72ad62; $custom-dark: #000000;
JSON
{
"hex": "#298a1e",
"rgb": {
"r": 41,
"g": 138,
"b": 30
},
"hsl": {
"h": 113.889,
"s": 64.286,
"l": 32.941
},
"oklch": {
"l": 0.55642,
"c": 0.16765,
"h": 141.7
},
"luminance": 0.18742
}Semantic roles & 50–950 ramp
primary
#298A1E
secondary
#AF4ABA
accent
#41E7D6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A