#15512F#15512F
#15512F is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.7% C 0.084 H 154.3°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).
Color values
| HEX | #15512F |
|---|---|
| RGB | rgb(21, 81, 47) |
| HSL | hsl(146, 59%, 20%) |
| HSV | hsv(146, 74%, 32%) |
| CMYK | cmyk(74.1%, 0%, 42%, 68.2%) |
| CIE-LAB | lab(30.03, -27.98, 14.61) |
| CIE-LCH | lch(30.03, 31.56, 152.44°) |
| OKLab | oklab(38.73% -0.0756 0.0365) |
| OKLCH | oklch(38.73% 0.084 154.3) |
| XYZ | xyz(3.7644, 6.2491, 3.6966) |
| Luminance | 0.0625 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Evergreen
#05472A
ΔE00 3.43
Pine Green
#0A481E
ΔE00 3.97
Spruce
#0A5F38
ΔE00 4.68
Pine
#2B5D34
ΔE00 4.76
Hunter Green
#355E3B
ΔE00 5.67
Forest Green
#2D5A27
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#15512F #511537
analogous
#195115 #15512F #15514D
triadic
#15512F #2F1551 #512F15
tetradic
#15512F #151951 #511537 #514D15
square
#15512F #151951 #511537 #514D15
split-complementary
#15512F #4D1551 #511519
monochromatic
#06180E #082013 #15512F #22824B #2EB267
Accessibility & contrast
On white
9.33
#15512F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#15512F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #15512F
9.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##15512F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##15512F | 1.00 | 9.33 | 2.25 | 9.33 |
| #FFFFFF | 9.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514A2D
Deuteranopia (green-blind)
#494531
Tritanopia (blue-blind)
#005048
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #15512f; /* rgb */ color: rgb(21, 81, 47); /* oklch */ color: oklch(38.7% 0.084 154.3);
Tailwind
colors: {
custom: {
50: '#5b8268',
500: '#15512f',
950: '#000000',
},
}SCSS
$custom: #15512f; $custom-light: #5b8268; $custom-dark: #000000;
JSON
{
"hex": "#15512f",
"rgb": {
"r": 21,
"g": 81,
"b": 47
},
"hsl": {
"h": 146,
"s": 58.824,
"l": 20
},
"oklch": {
"l": 0.38725,
"c": 0.08396,
"h": 154.3
},
"luminance": 0.0625
}Semantic roles & 50–950 ramp
primary
#15512F
secondary
#893966
accent
#469EE2
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040A06
muted
#797C7A