#155812#155812
#155812 is a dark, vivid green. Relative luminance 0.072; OKLCH L 40.4% C 0.121 H 142.4°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).
Color values
| HEX | #155812 |
|---|---|
| RGB | rgb(21, 88, 18) |
| HSL | hsl(117, 66%, 21%) |
| HSV | hsv(117, 80%, 35%) |
| CMYK | cmyk(76.1%, 0%, 79.5%, 65.5%) |
| CIE-LAB | lab(32.22, -35.26, 32.64) |
| CIE-LCH | lch(32.22, 48.05, 137.21°) |
| OKLab | oklab(40.41% -0.0959 0.0738) |
| OKLCH | oklch(40.41% 0.121 142.4) |
| XYZ | xyz(3.9079, 7.1821, 1.7525) |
| Luminance | 0.0718 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 1.27
Forest
#0B5509
ΔE00 1.31
Forest Green
#2D5A27
ΔE00 4.26
Bottle Green
#044A05
ΔE00 4.38
Darkgreen (survey)
#054907
ΔE00 4.69
Darkgreen
#006400
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#155812 #551258
analogous
#385812 #155812 #125832
triadic
#155812 #121558 #581215
tetradic
#155812 #123858 #551258 #583212
square
#155812 #123858 #551258 #583212
split-complementary
#155812 #321258 #581238
monochromatic
#061905 #092508 #155812 #218B1C #2DBE27
Accessibility & contrast
On white
8.62
#155812 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#155812 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #155812
8.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##155812 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##155812 | 1.00 | 8.62 | 2.44 | 8.62 |
| #FFFFFF | 8.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A4F05
Deuteranopia (green-blind)
#524A19
Tritanopia (blue-blind)
#03554A
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #155812; /* rgb */ color: rgb(21, 88, 18); /* oklch */ color: oklch(40.4% 0.121 142.4);
Tailwind
colors: {
custom: {
50: '#5f8855',
500: '#155812',
950: '#000000',
},
}SCSS
$custom: #155812; $custom-light: #5f8855; $custom-dark: #000000;
JSON
{
"hex": "#155812",
"rgb": {
"r": 21,
"g": 88,
"b": 18
},
"hsl": {
"h": 117.429,
"s": 66.038,
"l": 20.784
},
"oklch": {
"l": 0.40408,
"c": 0.121,
"h": 142.4
},
"luminance": 0.07183
}Semantic roles & 50–950 ramp
primary
#155812
secondary
#8D3591
accent
#3FE9E2
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050B03
muted
#797C78