#15642D#15642D
#15642D is a dark, moderate green. Relative luminance 0.095; OKLCH L 44.4% C 0.114 H 148.8°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #15642D |
|---|---|
| RGB | rgb(21, 100, 45) |
| HSL | hsl(138, 65%, 24%) |
| HSV | hsv(138, 79%, 39%) |
| CMYK | cmyk(79%, 0%, 55%, 60.8%) |
| CIE-LAB | lab(36.86, -36.35, 24.50) |
| CIE-LCH | lch(36.86, 43.84, 146.02°) |
| OKLab | oklab(44.35% -0.0977 0.0592) |
| OKLCH | oklch(44.35% 0.114 148.8) |
| XYZ | xyz(5.3397, 9.4626, 4.0272) |
| Luminance | 0.0946 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 4.37
Spruce
#0A5F38
ΔE00 4.37
Forest Green
#2D5A27
ΔE00 4.76
Deep Green
#02590F
ΔE00 5.35
Hunter Green
#355E3B
ΔE00 6.26
Forest
#0B5509
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#15642D #64154C
analogous
#246415 #15642D #156454
triadic
#15642D #2D1564 #642D15
tetradic
#15642D #152464 #64154C #645415
square
#15642D #152464 #64154C #645415
split-complementary
#15642D #541564 #641524
monochromatic
#05190B #0A3116 #15642D #209744 #2AC95B
Accessibility & contrast
On white
7.26
#15642D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#15642D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #15642D
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##15642D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##15642D | 1.00 | 7.26 | 2.89 | 7.26 |
| #FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#655B28
Deuteranopia (green-blind)
#5C5431
Tritanopia (blue-blind)
#006257
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #15642d; /* rgb */ color: rgb(21, 100, 45); /* oklch */ color: oklch(44.4% 0.114 148.8);
Tailwind
colors: {
custom: {
50: '#609167',
500: '#15642d',
950: '#000000',
},
}SCSS
$custom: #15642d; $custom-light: #609167; $custom-dark: #000000;
JSON
{
"hex": "#15642d",
"rgb": {
"r": 21,
"g": 100,
"b": 45
},
"hsl": {
"h": 138.228,
"s": 65.289,
"l": 23.725
},
"oklch": {
"l": 0.44351,
"c": 0.11426,
"h": 148.8
},
"luminance": 0.09463
}Semantic roles & 50–950 ramp
primary
#15642D
secondary
#9B3A7D
accent
#40B5E8
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#050D06
muted
#7A7E7A