#12572F#12572F
#12572F is a dark, moderate green. Relative luminance 0.071; OKLCH L 40.4% C 0.094 H 152.9°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).
Color values
| HEX | #12572F |
|---|---|
| RGB | rgb(18, 87, 47) |
| HSL | hsl(145, 66%, 21%) |
| HSV | hsv(145, 79%, 34%) |
| CMYK | cmyk(79.3%, 0%, 46%, 65.9%) |
| CIE-LAB | lab(32.15, -31.17, 17.37) |
| CIE-LCH | lch(32.15, 35.68, 150.87°) |
| OKLab | oklab(40.45% -0.0839 0.043) |
| OKLCH | oklch(40.45% 0.094 152.9) |
| XYZ | xyz(4.1704, 7.1497, 3.8490) |
| Luminance | 0.0715 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 2.83
Pine
#2B5D34
ΔE00 3.34
Pine Green
#0A481E
ΔE00 4.90
Forest Green
#2D5A27
ΔE00 4.97
Hunter Green
#355E3B
ΔE00 5.02
Evergreen
#05472A
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12572F #57123A
analogous
#185712 #12572F #125751
triadic
#12572F #2F1257 #572F12
tetradic
#12572F #121857 #57123A #575112
square
#12572F #121857 #57123A #575112
split-complementary
#12572F #511257 #571218
monochromatic
#05190E #082414 #12572F #1C8A4A #27BC66
Accessibility & contrast
On white
8.64
#12572F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#12572F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #12572F
8.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12572F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12572F | 1.00 | 8.64 | 2.43 | 8.64 |
| #FFFFFF | 8.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#574F2C
Deuteranopia (green-blind)
#4F4932
Tritanopia (blue-blind)
#00564D
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #12572f; /* rgb */ color: rgb(18, 87, 47); /* oklch */ color: oklch(40.4% 0.094 152.9);
Tailwind
colors: {
custom: {
50: '#5c8768',
500: '#12572f',
950: '#000000',
},
}SCSS
$custom: #12572f; $custom-light: #5c8768; $custom-dark: #000000;
JSON
{
"hex": "#12572f",
"rgb": {
"r": 18,
"g": 87,
"b": 47
},
"hsl": {
"h": 145.217,
"s": 65.714,
"l": 20.588
},
"oklch": {
"l": 0.40446,
"c": 0.0943,
"h": 152.9
},
"luminance": 0.0715
}Semantic roles & 50–950 ramp
primary
#12572F
secondary
#90356A
accent
#3FA1E9
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A