#186228#186228
#186228 is a dark, moderate green. Relative luminance 0.091; OKLCH L 43.8% C 0.115 H 146.9°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).
Color values
| HEX | #186228 |
|---|---|
| RGB | rgb(24, 98, 40) |
| HSL | hsl(133, 61%, 24%) |
| HSV | hsv(133, 76%, 38%) |
| CMYK | cmyk(75.5%, 0%, 59.2%, 61.6%) |
| CIE-LAB | lab(36.14, -35.83, 26.37) |
| CIE-LCH | lch(36.14, 44.49, 143.65°) |
| OKLab | oklab(43.75% -0.0966 0.0629) |
| OKLCH | oklch(43.75% 0.115 146.9) |
| XYZ | xyz(5.1270, 9.0822, 3.4899) |
| Luminance | 0.0908 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 4.06
Deep Green
#02590F
ΔE00 4.32
Pine
#2B5D34
ΔE00 4.46
Spruce
#0A5F38
ΔE00 5.08
Forest
#0B5509
ΔE00 5.48
Darkgreen
#006400
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#186228 #621852
analogous
#2D6218 #186228 #18624D
triadic
#186228 #281862 #622818
tetradic
#186228 #182D62 #621852 #624D18
square
#186228 #182D62 #621852 #624D18
split-complementary
#186228 #4D1862 #62182D
monochromatic
#06190A #0C3114 #186228 #24933C #30C450
Accessibility & contrast
On white
7.46
#186228 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#186228 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #186228
7.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##186228 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##186228 | 1.00 | 7.46 | 2.82 | 7.46 |
| #FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#635923
Deuteranopia (green-blind)
#5B532C
Tritanopia (blue-blind)
#006055
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #186228; /* rgb */ color: rgb(24, 98, 40); /* oklch */ color: oklch(43.8% 0.115 146.9);
Tailwind
colors: {
custom: {
50: '#618f64',
500: '#186228',
950: '#000000',
},
}SCSS
$custom: #186228; $custom-light: #618f64; $custom-dark: #000000;
JSON
{
"hex": "#186228",
"rgb": {
"r": 24,
"g": 98,
"b": 40
},
"hsl": {
"h": 132.973,
"s": 60.656,
"l": 23.922
},
"oklch": {
"l": 0.43753,
"c": 0.11526,
"h": 146.9
},
"luminance": 0.09083
}Semantic roles & 50–950 ramp
primary
#186228
secondary
#983E85
accent
#44C1E4
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C05
muted
#7A7D7A