#12572B#12572B
#12572B is a dark, moderate green. Relative luminance 0.071; OKLCH L 40.4% C 0.099 H 150.8°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).
Color values
| HEX | #12572B |
|---|---|
| RGB | rgb(18, 87, 43) |
| HSL | hsl(142, 66%, 21%) |
| HSV | hsv(142, 79%, 34%) |
| CMYK | cmyk(79.3%, 0%, 50.6%, 65.9%) |
| CIE-LAB | lab(32.08, -31.96, 19.64) |
| CIE-LCH | lch(32.08, 37.52, 148.43°) |
| OKLab | oklab(40.37% -0.086 0.0481) |
| OKLCH | oklch(40.37% 0.099 150.8) |
| XYZ | xyz(4.0933, 7.1189, 3.4434) |
| Luminance | 0.0712 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 3.34
Spruce
#0A5F38
ΔE00 3.38
Forest Green
#2D5A27
ΔE00 4.24
Pine Green
#0A481E
ΔE00 4.68
Hunter Green
#355E3B
ΔE00 5.32
Deep Green
#02590F
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12572B #57123E
analogous
#1B5712 #12572B #12574D
triadic
#12572B #2B1257 #572B12
tetradic
#12572B #121B57 #57123E #574D12
square
#12572B #121B57 #57123E #574D12
split-complementary
#12572B #4D1257 #57121B
monochromatic
#05190D #082412 #12572B #1C8A44 #27BC5D
Accessibility & contrast
On white
8.66
#12572B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#12572B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #12572B
8.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12572B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12572B | 1.00 | 8.66 | 2.42 | 8.66 |
| #FFFFFF | 8.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#574F28
Deuteranopia (green-blind)
#4F492E
Tritanopia (blue-blind)
#00554D
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #12572b; /* rgb */ color: rgb(18, 87, 43); /* oklch */ color: oklch(40.4% 0.099 150.8);
Tailwind
colors: {
custom: {
50: '#5c8765',
500: '#12572b',
950: '#000000',
},
}SCSS
$custom: #12572b; $custom-light: #5c8765; $custom-dark: #000000;
JSON
{
"hex": "#12572b",
"rgb": {
"r": 18,
"g": 87,
"b": 43
},
"hsl": {
"h": 141.739,
"s": 65.714,
"l": 20.588
},
"oklch": {
"l": 0.40366,
"c": 0.09851,
"h": 150.8
},
"luminance": 0.07119
}Semantic roles & 50–950 ramp
primary
#12572B
secondary
#90356F
accent
#3FABE9
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B05
muted
#797C7A