#186831#186831
#186831 is a mid, moderate green. Relative luminance 0.103; OKLCH L 45.7% C 0.115 H 149.3°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #186831 |
|---|---|
| RGB | rgb(24, 104, 49) |
| HSL | hsl(139, 63%, 25%) |
| HSV | hsv(139, 77%, 41%) |
| CMYK | cmyk(76.9%, 0%, 52.9%, 59.2%) |
| CIE-LAB | lab(38.40, -36.74, 24.21) |
| CIE-LCH | lch(38.40, 44.00, 146.61°) |
| OKLab | oklab(45.67% -0.0988 0.0587) |
| OKLCH | oklch(45.67% 0.115 149.3) |
| XYZ | xyz(5.8809, 10.3159, 4.5864) |
| Luminance | 0.1032 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 4.86
Pine
#2B5D34
ΔE00 5.01
Forest Green
#2D5A27
ΔE00 5.69
Deep Green
#02590F
ΔE00 6.45
Hunter Green
#355E3B
ΔE00 6.59
Darkgreen
#006400
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#186831 #68184F
analogous
#276818 #186831 #186859
triadic
#186831 #311868 #683118
tetradic
#186831 #182768 #68184F #685918
square
#186831 #182768 #68184F #685918
split-complementary
#186831 #591868 #681827
monochromatic
#06190C #0D361A #186831 #239A48 #2FCB60
Accessibility & contrast
On white
6.86
#186831 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#186831 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #186831
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##186831 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##186831 | 1.00 | 6.86 | 3.06 | 6.86 |
| #FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#695E2C
Deuteranopia (green-blind)
#5F5835
Tritanopia (blue-blind)
#00665B
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #186831; /* rgb */ color: rgb(24, 104, 49); /* oklch */ color: oklch(45.7% 0.115 149.3);
Tailwind
colors: {
custom: {
50: '#62946a',
500: '#186831',
950: '#000000',
},
}SCSS
$custom: #186831; $custom-light: #62946a; $custom-dark: #000000;
JSON
{
"hex": "#186831",
"rgb": {
"r": 24,
"g": 104,
"b": 49
},
"hsl": {
"h": 138.75,
"s": 62.5,
"l": 25.098
},
"oklch": {
"l": 0.45665,
"c": 0.11496,
"h": 149.3
},
"luminance": 0.10317
}Semantic roles & 50–950 ramp
primary
#186831
secondary
#9E3E80
accent
#42B3E6
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A