#298E2C#298E2C
#298E2C is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.9% C 0.164 H 143.4°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #298E2C |
|---|---|
| RGB | rgb(41, 142, 44) |
| HSL | hsl(122, 55%, 36%) |
| HSV | hsv(122, 71%, 56%) |
| CMYK | cmyk(71.1%, 0%, 69%, 44.3%) |
| CIE-LAB | lab(51.84, -48.42, 42.31) |
| CIE-LCH | lch(51.84, 64.31, 138.85°) |
| OKLab | oklab(56.88% -0.1313 0.0974) |
| OKLCH | oklch(56.88% 0.164 143.4) |
| XYZ | xyz(11.0414, 19.9981, 5.6605) |
| Luminance | 0.2000 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.50
Emerald Green
#028F1E
ΔE00 1.95
Irish Green
#019529
ΔE00 2.70
Kelley Green
#009337
ΔE00 2.84
True Green
#089404
ΔE00 3.99
Fern Green
#548D44
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#298E2C #8E298B
analogous
#588E29 #298E2C #298E5E
triadic
#298E2C #2C298E #8E2C29
tetradic
#298E2C #29588E #8E298B #8E5E29
square
#298E2C #29588E #8E298B #8E5E29
split-complementary
#298E2C #5E298E #8E2958
monochromatic
#0E2F0F #1B5F1D #298E2C #37BD3B #60D164
Accessibility & contrast
On white
4.20
#298E2C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.00
#298E2C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #298E2C
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##298E2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##298E2C | 1.00 | 4.20 | 5.00 | 5.00 |
| #FFFFFF | 4.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#91811F
Deuteranopia (green-blind)
#857835
Tritanopia (blue-blind)
#088A7A
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #298e2c; /* rgb */ color: rgb(41, 142, 44); /* oklch */ color: oklch(56.9% 0.164 143.4);
Tailwind
colors: {
custom: {
50: '#72b06a',
500: '#298e2c',
950: '#000000',
},
}SCSS
$custom: #298e2c; $custom-light: #72b06a; $custom-dark: #000000;
JSON
{
"hex": "#298e2c",
"rgb": {
"r": 41,
"g": 142,
"b": 44
},
"hsl": {
"h": 121.782,
"s": 55.191,
"l": 35.882
},
"oklch": {
"l": 0.56879,
"c": 0.16351,
"h": 143.4
},
"luminance": 0.19999
}Semantic roles & 50–950 ramp
primary
#298E2C
secondary
#B75CB4
accent
#49DADF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091107
muted
#7B807A