#298A1C#298A1C
#298A1C is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.6% C 0.169 H 141.5°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #298A1C |
|---|---|
| RGB | rgb(41, 138, 28) |
| HSL | hsl(113, 66%, 33%) |
| HSV | hsv(113, 80%, 54%) |
| CMYK | cmyk(70.3%, 0%, 79.7%, 45.9%) |
| CIE-LAB | lab(50.37, -48.38, 46.99) |
| CIE-LCH | lch(50.37, 67.44, 135.84°) |
| OKLab | oklab(55.63% -0.132 0.105) |
| OKLCH | oklch(55.63% 0.169 141.5) |
| XYZ | xyz(10.2120, 18.7311, 4.1757) |
| Luminance | 0.1873 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.99
Emerald Green
#028F1E
ΔE00 2.30
True Green
#089404
ΔE00 3.89
Irish Green
#019529
ΔE00 4.19
Green
#008000
ΔE00 4.24
Tree Green
#2A7E19
ΔE00 4.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#298A1C #7D1C8A
analogous
#608A1C #298A1C #1C8A46
triadic
#298A1C #1C298A #8A1C29
tetradic
#298A1C #1C608A #7D1C8A #8A461C
square
#298A1C #1C608A #7D1C8A #8A461C
split-complementary
#298A1C #461C8A #8A1C60
monochromatic
#0B2407 #1A5712 #298A1C #38BD26 #58DA47
Accessibility & contrast
On white
4.42
#298A1C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.75
#298A1C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #298A1C
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##298A1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##298A1C | 1.00 | 4.42 | 4.75 | 4.75 |
| #FFFFFF | 4.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#827529
Tritanopia (blue-blind)
#128675
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #298a1c; /* rgb */ color: rgb(41, 138, 28); /* oklch */ color: oklch(55.6% 0.169 141.5);
Tailwind
colors: {
custom: {
50: '#72ad61',
500: '#298a1c',
950: '#000000',
},
}SCSS
$custom: #298a1c; $custom-light: #72ad61; $custom-dark: #000000;
JSON
{
"hex": "#298a1c",
"rgb": {
"r": 41,
"g": 138,
"b": 28
},
"hsl": {
"h": 112.909,
"s": 66.265,
"l": 32.549
},
"oklch": {
"l": 0.55629,
"c": 0.16872,
"h": 141.5
},
"luminance": 0.18732
}Semantic roles & 50–950 ramp
primary
#298A1C
secondary
#AE46BB
accent
#3FE9D5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A