#15642F#15642F
#15642F is a dark, moderate green. Relative luminance 0.095; OKLCH L 44.4% C 0.112 H 149.6°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).
Color values
| HEX | #15642F |
|---|---|
| RGB | rgb(21, 100, 47) |
| HSL | hsl(140, 65%, 24%) |
| HSV | hsv(140, 79%, 39%) |
| CMYK | cmyk(79%, 0%, 53%, 60.8%) |
| CIE-LAB | lab(36.89, -36.00, 23.43) |
| CIE-LCH | lch(36.89, 42.96, 146.95°) |
| OKLab | oklab(44.39% -0.0968 0.0569) |
| OKLCH | oklch(44.39% 0.112 149.6) |
| XYZ | xyz(5.3791, 9.4784, 4.2348) |
| Luminance | 0.0948 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 3.94
Pine
#2B5D34
ΔE00 4.13
Forest Green
#2D5A27
ΔE00 4.85
Deep Green
#02590F
ΔE00 5.71
Hunter Green
#355E3B
ΔE00 6.00
Forest
#0B5509
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#15642F #64154A
analogous
#226415 #15642F #156456
triadic
#15642F #2F1564 #642F15
tetradic
#15642F #152264 #64154A #645615
square
#15642F #152264 #64154A #645615
split-complementary
#15642F #561564 #641522
monochromatic
#05190C #0A3117 #15642F #209747 #2AC95F
Accessibility & contrast
On white
7.25
#15642F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#15642F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #15642F
7.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##15642F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##15642F | 1.00 | 7.25 | 2.90 | 7.25 |
| #FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#655B2B
Deuteranopia (green-blind)
#5C5433
Tritanopia (blue-blind)
#006258
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #15642f; /* rgb */ color: rgb(21, 100, 47); /* oklch */ color: oklch(44.4% 0.112 149.6);
Tailwind
colors: {
custom: {
50: '#609168',
500: '#15642f',
950: '#000000',
},
}SCSS
$custom: #15642f; $custom-light: #609168; $custom-dark: #000000;
JSON
{
"hex": "#15642f",
"rgb": {
"r": 21,
"g": 100,
"b": 47
},
"hsl": {
"h": 139.747,
"s": 65.289,
"l": 23.725
},
"oklch": {
"l": 0.44385,
"c": 0.11227,
"h": 149.6
},
"luminance": 0.09479
}Semantic roles & 50–950 ramp
primary
#15642F
secondary
#9B3A7B
accent
#40B1E8
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#050D06
muted
#7A7E7A