#12572E#12572E
#12572E is a dark, moderate green. Relative luminance 0.071; OKLCH L 40.4% C 0.095 H 152.3°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).
Color values
| HEX | #12572E |
|---|---|
| RGB | rgb(18, 87, 46) |
| HSL | hsl(144, 66%, 21%) |
| HSV | hsv(144, 79%, 34%) |
| CMYK | cmyk(79.3%, 0%, 47.1%, 65.9%) |
| CIE-LAB | lab(32.13, -31.38, 17.94) |
| CIE-LCH | lch(32.13, 36.14, 150.24°) |
| OKLab | oklab(40.42% -0.0845 0.0443) |
| OKLCH | oklch(40.42% 0.095 152.3) |
| XYZ | xyz(4.1504, 7.1418, 3.7440) |
| Luminance | 0.0714 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 2.94
Pine
#2B5D34
ΔE00 3.31
Forest Green
#2D5A27
ΔE00 4.77
Pine Green
#0A481E
ΔE00 4.82
Hunter Green
#355E3B
ΔE00 5.08
Evergreen
#05472A
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12572E #57123B
analogous
#185712 #12572E #125750
triadic
#12572E #2E1257 #572E12
tetradic
#12572E #121857 #57123B #575012
square
#12572E #121857 #57123B #575012
split-complementary
#12572E #501257 #571218
monochromatic
#05190D #082413 #12572E #1C8A49 #27BC64
Accessibility & contrast
On white
8.65
#12572E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#12572E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #12572E
8.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12572E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12572E | 1.00 | 8.65 | 2.43 | 8.65 |
| #FFFFFF | 8.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#574F2B
Deuteranopia (green-blind)
#4F4931
Tritanopia (blue-blind)
#00564D
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #12572e; /* rgb */ color: rgb(18, 87, 46); /* oklch */ color: oklch(40.4% 0.095 152.3);
Tailwind
colors: {
custom: {
50: '#5c8767',
500: '#12572e',
950: '#000000',
},
}SCSS
$custom: #12572e; $custom-light: #5c8767; $custom-dark: #000000;
JSON
{
"hex": "#12572e",
"rgb": {
"r": 18,
"g": 87,
"b": 46
},
"hsl": {
"h": 144.348,
"s": 65.714,
"l": 20.588
},
"oklch": {
"l": 0.40425,
"c": 0.09536,
"h": 152.3
},
"luminance": 0.07142
}Semantic roles & 50–950 ramp
primary
#12572E
secondary
#90356B
accent
#3FA4E9
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A