#298C2E#298C2E
#298C2E is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.3% C 0.160 H 143.8°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #298C2E |
|---|---|
| RGB | rgb(41, 140, 46) |
| HSL | hsl(123, 55%, 35%) |
| HSV | hsv(123, 71%, 55%) |
| CMYK | cmyk(70.7%, 0%, 67.1%, 45.1%) |
| CIE-LAB | lab(51.18, -47.50, 40.73) |
| CIE-LCH | lch(51.18, 62.57, 139.39°) |
| OKLab | oklab(56.34% -0.1287 0.0943) |
| OKLCH | oklch(56.34% 0.16 143.8) |
| XYZ | xyz(10.7850, 19.4237, 5.7650) |
| Luminance | 0.1943 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.49
Emerald Green
#028F1E
ΔE00 2.41
Kelley Green
#009337
ΔE00 3.06
Irish Green
#019529
ΔE00 3.39
True Green
#089404
ΔE00 4.71
Tree Green
#2A7E19
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#298C2E #8C2987
analogous
#568C29 #298C2E #298C5F
triadic
#298C2E #2E298C #8C2E29
tetradic
#298C2E #29568C #8C2987 #8C5F29
square
#298C2E #29568C #8C2987 #8C5F29
split-complementary
#298C2E #5F298C #8C2956
monochromatic
#0D2D0F #1B5D1E #298C2E #37BB3E #5FD065
Accessibility & contrast
On white
4.30
#298C2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.89
#298C2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #298C2E
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##298C2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##298C2E | 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)
#8F7F22
Deuteranopia (green-blind)
#837736
Tritanopia (blue-blind)
#098879
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #298c2e; /* rgb */ color: rgb(41, 140, 46); /* oklch */ color: oklch(56.3% 0.160 143.8);
Tailwind
colors: {
custom: {
50: '#72af6b',
500: '#298c2e',
950: '#000000',
},
}SCSS
$custom: #298c2e; $custom-light: #72af6b; $custom-dark: #000000;
JSON
{
"hex": "#298c2e",
"rgb": {
"r": 41,
"g": 140,
"b": 46
},
"hsl": {
"h": 123.03,
"s": 54.696,
"l": 35.49
},
"oklch": {
"l": 0.56341,
"c": 0.15957,
"h": 143.8
},
"luminance": 0.19425
}Semantic roles & 50–950 ramp
primary
#298C2E
secondary
#B65BB1
accent
#4AD7DE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A