#186231#186231
#186231 is a dark, moderate green. Relative luminance 0.092; OKLCH L 43.9% C 0.106 H 150.3°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).
Color values
| HEX | #186231 |
|---|---|
| RGB | rgb(24, 98, 49) |
| HSL | hsl(140, 61%, 24%) |
| HSV | hsv(140, 76%, 38%) |
| CMYK | cmyk(75.5%, 0%, 50%, 61.6%) |
| CIE-LAB | lab(36.27, -34.31, 21.53) |
| CIE-LCH | lch(36.27, 40.51, 147.89°) |
| OKLab | oklab(43.9% -0.0924 0.0527) |
| OKLCH | oklch(43.9% 0.106 150.3) |
| XYZ | xyz(5.2983, 9.1507, 4.3922) |
| Luminance | 0.0915 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 3.04
Pine
#2B5D34
ΔE00 3.26
Forest Green
#2D5A27
ΔE00 4.49
Hunter Green
#355E3B
ΔE00 5.19
Deep Green
#02590F
ΔE00 6.04
Forest
#0B5509
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#186231 #621849
analogous
#246218 #186231 #186256
triadic
#186231 #311862 #623118
tetradic
#186231 #182462 #621849 #625618
square
#186231 #182462 #621849 #625618
split-complementary
#186231 #561862 #621824
monochromatic
#06190C #0C3118 #186231 #24934A #30C462
Accessibility & contrast
On white
7.42
#186231 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#186231 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #186231
7.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##186231 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##186231 | 1.00 | 7.42 | 2.83 | 7.42 |
| #FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#63592D
Deuteranopia (green-blind)
#5A5334
Tritanopia (blue-blind)
#006056
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #186231; /* rgb */ color: rgb(24, 98, 49); /* oklch */ color: oklch(43.9% 0.106 150.3);
Tailwind
colors: {
custom: {
50: '#618f6a',
500: '#186231',
950: '#000000',
},
}SCSS
$custom: #186231; $custom-light: #618f6a; $custom-dark: #000000;
JSON
{
"hex": "#186231",
"rgb": {
"r": 24,
"g": 98,
"b": 49
},
"hsl": {
"h": 140.27,
"s": 60.656,
"l": 23.922
},
"oklch": {
"l": 0.43904,
"c": 0.10633,
"h": 150.3
},
"luminance": 0.09151
}Semantic roles & 50–950 ramp
primary
#186231
secondary
#983E7A
accent
#44AEE4
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#050C06
muted
#7A7D7A