#298C1E#298C1E
#298C1E is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.2% C 0.170 H 141.7°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #298C1E |
|---|---|
| RGB | rgb(41, 140, 30) |
| HSL | hsl(114, 65%, 33%) |
| HSV | hsv(114, 79%, 55%) |
| CMYK | cmyk(70.7%, 0%, 78.6%, 45.1%) |
| CIE-LAB | lab(51.06, -48.94, 46.98) |
| CIE-LCH | lch(51.06, 67.83, 136.17°) |
| OKLab | oklab(56.2% -0.1334 0.1053) |
| OKLCH | oklch(56.2% 0.17 141.7) |
| XYZ | xyz(10.5263, 19.3202, 4.4025) |
| Luminance | 0.1932 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.94
Emerald Green
#028F1E
ΔE00 1.85
True Green
#089404
ΔE00 3.35
Irish Green
#019529
ΔE00 3.55
Kelley Green
#009337
ΔE00 4.39
Green
#008000
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#298C1E #811E8C
analogous
#608C1E #298C1E #1E8C4A
triadic
#298C1E #1E298C #8C1E29
tetradic
#298C1E #1E608C #811E8C #8C4A1E
square
#298C1E #1E608C #811E8C #8C4A1E
split-complementary
#298C1E #4A1E8C #8C1E60
monochromatic
#0B2708 #1A5A13 #298C1E #38BE29 #5AD94C
Accessibility & contrast
On white
4.32
#298C1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.86
#298C1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #298C1E
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##298C1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##298C1E | 1.00 | 4.32 | 4.86 | 4.86 |
| #FFFFFF | 4.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7E03
Deuteranopia (green-blind)
#84772A
Tritanopia (blue-blind)
#118877
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #298c1e; /* rgb */ color: rgb(41, 140, 30); /* oklch */ color: oklch(56.2% 0.170 141.7);
Tailwind
colors: {
custom: {
50: '#72af63',
500: '#298c1e',
950: '#000000',
},
}SCSS
$custom: #298c1e; $custom-light: #72af63; $custom-dark: #000000;
JSON
{
"hex": "#298c1e",
"rgb": {
"r": 41,
"g": 140,
"b": 30
},
"hsl": {
"h": 114,
"s": 64.706,
"l": 33.333
},
"oklch": {
"l": 0.56204,
"c": 0.16998,
"h": 141.7
},
"luminance": 0.19321
}Semantic roles & 50–950 ramp
primary
#298C1E
secondary
#B04BBB
accent
#40E8D7
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A