#15512C#15512C
#15512C is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.7% C 0.087 H 152.3°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #15512C |
|---|---|
| RGB | rgb(21, 81, 44) |
| HSL | hsl(143, 59%, 20%) |
| HSV | hsv(143, 74%, 32%) |
| CMYK | cmyk(74.1%, 0%, 45.7%, 68.2%) |
| CIE-LAB | lab(29.97, -28.62, 16.36) |
| CIE-LCH | lch(29.97, 32.96, 150.25°) |
| OKLab | oklab(38.66% -0.0772 0.0405) |
| OKLCH | oklch(38.66% 0.087 152.3) |
| XYZ | xyz(3.7060, 6.2257, 3.3888) |
| Luminance | 0.0623 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine Green
#0A481E
ΔE00 3.38
Evergreen
#05472A
ΔE00 3.87
Pine
#2B5D34
ΔE00 4.47
Spruce
#0A5F38
ΔE00 4.68
Forest Green
#2D5A27
ΔE00 5.60
Hunter Green
#355E3B
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#15512C #51153A
analogous
#1C5115 #15512C #15514A
triadic
#15512C #2C1551 #512C15
tetradic
#15512C #151C51 #51153A #514A15
square
#15512C #151C51 #51153A #514A15
split-complementary
#15512C #4A1551 #51151C
monochromatic
#06180D #082012 #15512C #228246 #2EB261
Accessibility & contrast
On white
9.35
#15512C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#15512C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #15512C
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##15512C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##15512C | 1.00 | 9.35 | 2.25 | 9.35 |
| #FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514A29
Deuteranopia (green-blind)
#4A442E
Tritanopia (blue-blind)
#005048
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #15512c; /* rgb */ color: rgb(21, 81, 44); /* oklch */ color: oklch(38.7% 0.087 152.3);
Tailwind
colors: {
custom: {
50: '#5b8265',
500: '#15512c',
950: '#000000',
},
}SCSS
$custom: #15512c; $custom-light: #5b8265; $custom-dark: #000000;
JSON
{
"hex": "#15512c",
"rgb": {
"r": 21,
"g": 81,
"b": 44
},
"hsl": {
"h": 143,
"s": 58.824,
"l": 20
},
"oklch": {
"l": 0.38658,
"c": 0.0872,
"h": 152.3
},
"luminance": 0.06226
}Semantic roles & 50–950 ramp
primary
#15512C
secondary
#89396A
accent
#46A6E2
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040A05
muted
#797C7A