#298E1A#298E1A
#298E1A is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.7% C 0.174 H 141.4°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #298E1A |
|---|---|
| RGB | rgb(41, 142, 26) |
| HSL | hsl(112, 69%, 33%) |
| HSV | hsv(112, 82%, 56%) |
| CMYK | cmyk(71.1%, 0%, 81.7%, 44.3%) |
| CIE-LAB | lab(51.71, -49.89, 48.91) |
| CIE-LCH | lch(51.71, 69.87, 135.57°) |
| OKLab | oklab(56.74% -0.1362 0.1088) |
| OKLCH | oklch(56.74% 0.174 141.4) |
| XYZ | xyz(10.7733, 19.8908, 4.2486) |
| Luminance | 0.1989 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.72
Emerald Green
#028F1E
ΔE00 1.86
True Green
#089404
ΔE00 2.57
Irish Green
#019529
ΔE00 3.25
Kelley Green
#009337
ΔE00 4.52
Dark Grass Green
#388004
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#298E1A #7F1A8E
analogous
#638E1A #298E1A #1A8E45
triadic
#298E1A #1A298E #8E1A29
tetradic
#298E1A #1A638E #7F1A8E #8E451A
square
#298E1A #1A638E #7F1A8E #8E451A
split-complementary
#298E1A #451A8E #8E1A63
monochromatic
#0B2707 #1A5A11 #298E1A #38C223 #59DD45
Accessibility & contrast
On white
4.22
#298E1A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.98
#298E1A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #298E1A
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##298E1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##298E1A | 1.00 | 4.22 | 4.98 | 4.98 |
| #FFFFFF | 4.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#867828
Tritanopia (blue-blind)
#108979
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #298e1a; /* rgb */ color: rgb(41, 142, 26); /* oklch */ color: oklch(56.7% 0.174 141.4);
Tailwind
colors: {
custom: {
50: '#73b061',
500: '#298e1a',
950: '#000000',
},
}SCSS
$custom: #298e1a; $custom-light: #73b061; $custom-dark: #000000;
JSON
{
"hex": "#298e1a",
"rgb": {
"r": 41,
"g": 142,
"b": 26
},
"hsl": {
"h": 112.241,
"s": 69.048,
"l": 32.941
},
"oklch": {
"l": 0.56739,
"c": 0.1743,
"h": 141.4
},
"luminance": 0.19892
}Semantic roles & 50–950 ramp
primary
#298E1A
secondary
#AF45BE
accent
#3CECD5
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091105
muted
#7B807A