#298C2F#298C2F
#298C2F is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.4% C 0.159 H 143.9°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #298C2F |
|---|---|
| RGB | rgb(41, 140, 47) |
| HSL | hsl(124, 55%, 35%) |
| HSV | hsv(124, 71%, 55%) |
| CMYK | cmyk(70.7%, 0%, 66.4%, 45.1%) |
| CIE-LAB | lab(51.19, -47.39, 40.29) |
| CIE-LCH | lch(51.19, 62.20, 139.63°) |
| OKLab | oklab(56.35% -0.1284 0.0935) |
| OKLCH | oklch(56.35% 0.159 143.9) |
| XYZ | xyz(10.8049, 19.4317, 5.8700) |
| Luminance | 0.1943 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.63
Emerald Green
#028F1E
ΔE00 2.51
Kelley Green
#009337
ΔE00 3.00
Irish Green
#019529
ΔE00 3.42
True Green
#089404
ΔE00 4.83
Fern Green
#548D44
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#298C2F #8C2986
analogous
#558C29 #298C2F #298C60
triadic
#298C2F #2F298C #8C2F29
tetradic
#298C2F #29558C #8C2986 #8C6029
square
#298C2F #29558C #8C2986 #8C6029
split-complementary
#298C2F #60298C #8C2955
monochromatic
#0D2D0F #1B5D1F #298C2F #37BB3F #5FD066
Accessibility & contrast
On white
4.30
#298C2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.89
#298C2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #298C2F
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##298C2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##298C2F | 1.00 | 4.30 | 4.89 | 4.89 |
| #FFFFFF | 4.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7F23
Deuteranopia (green-blind)
#837737
Tritanopia (blue-blind)
#098879
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #298c2f; /* rgb */ color: rgb(41, 140, 47); /* oklch */ color: oklch(56.4% 0.159 143.9);
Tailwind
colors: {
custom: {
50: '#72af6c',
500: '#298c2f',
950: '#000000',
},
}SCSS
$custom: #298c2f; $custom-light: #72af6c; $custom-dark: #000000;
JSON
{
"hex": "#298c2f",
"rgb": {
"r": 41,
"g": 140,
"b": 47
},
"hsl": {
"h": 123.636,
"s": 54.696,
"l": 35.49
},
"oklch": {
"l": 0.56352,
"c": 0.15881,
"h": 143.9
},
"luminance": 0.19433
}Semantic roles & 50–950 ramp
primary
#298C2F
secondary
#B65BB0
accent
#4AD5DE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A