#12572D#12572D
#12572D is a dark, moderate green. Relative luminance 0.071; OKLCH L 40.4% C 0.096 H 151.8°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).
Color values
| HEX | #12572D |
|---|---|
| RGB | rgb(18, 87, 45) |
| HSL | hsl(143, 66%, 21%) |
| HSV | hsv(143, 79%, 34%) |
| CMYK | cmyk(79.3%, 0%, 48.3%, 65.9%) |
| CIE-LAB | lab(32.11, -31.58, 18.51) |
| CIE-LCH | lch(32.11, 36.60, 149.62°) |
| OKLab | oklab(40.41% -0.085 0.0456) |
| OKLCH | oklch(40.41% 0.096 151.8) |
| XYZ | xyz(4.1309, 7.1340, 3.6414) |
| Luminance | 0.0713 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 3.07
Pine
#2B5D34
ΔE00 3.29
Forest Green
#2D5A27
ΔE00 4.58
Pine Green
#0A481E
ΔE00 4.76
Hunter Green
#355E3B
ΔE00 5.15
Evergreen
#05472A
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12572D #57123C
analogous
#1A5712 #12572D #12574F
triadic
#12572D #2D1257 #572D12
tetradic
#12572D #121A57 #57123C #574F12
square
#12572D #121A57 #57123C #574F12
split-complementary
#12572D #4F1257 #57121A
monochromatic
#05190D #082413 #12572D #1C8A47 #27BC61
Accessibility & contrast
On white
8.65
#12572D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#12572D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #12572D
8.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12572D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12572D | 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)
#574F2A
Deuteranopia (green-blind)
#4F4930
Tritanopia (blue-blind)
#00564D
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #12572d; /* rgb */ color: rgb(18, 87, 45); /* oklch */ color: oklch(40.4% 0.096 151.8);
Tailwind
colors: {
custom: {
50: '#5c8766',
500: '#12572d',
950: '#000000',
},
}SCSS
$custom: #12572d; $custom-light: #5c8766; $custom-dark: #000000;
JSON
{
"hex": "#12572d",
"rgb": {
"r": 18,
"g": 87,
"b": 45
},
"hsl": {
"h": 143.478,
"s": 65.714,
"l": 20.588
},
"oklch": {
"l": 0.40405,
"c": 0.09641,
"h": 151.8
},
"luminance": 0.07134
}Semantic roles & 50–950 ramp
primary
#12572D
secondary
#90356C
accent
#3FA6E9
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A