#12562D#12562D
#12562D is a dark, moderate green. Relative luminance 0.070; OKLCH L 40.1% C 0.095 H 152.1°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).
Color values
| HEX | #12562D |
|---|---|
| RGB | rgb(18, 86, 45) |
| HSL | hsl(144, 65%, 20%) |
| HSV | hsv(144, 79%, 34%) |
| CMYK | cmyk(79.1%, 0%, 47.7%, 66.3%) |
| CIE-LAB | lab(31.75, -31.15, 18.04) |
| CIE-LCH | lch(31.75, 36.00, 149.92°) |
| OKLab | oklab(40.1% -0.0839 0.0445) |
| OKLCH | oklch(40.1% 0.095 152.1) |
| XYZ | xyz(4.0505, 6.9732, 3.6146) |
| Luminance | 0.0697 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 3.26
Pine
#2B5D34
ΔE00 3.46
Pine Green
#0A481E
ΔE00 4.50
Forest Green
#2D5A27
ΔE00 4.77
Hunter Green
#355E3B
ΔE00 5.21
Evergreen
#05472A
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12562D #56123B
analogous
#195612 #12562D #12564F
triadic
#12562D #2D1256 #562D12
tetradic
#12562D #121956 #56123B #564F12
square
#12562D #121956 #56123B #564F12
split-complementary
#12562D #4F1256 #561219
monochromatic
#05190D #072313 #12562D #1D8947 #27BB62
Accessibility & contrast
On white
8.77
#12562D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#12562D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #12562D
8.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12562D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12562D | 1.00 | 8.77 | 2.39 | 8.77 |
| #FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#564E2A
Deuteranopia (green-blind)
#4E4830
Tritanopia (blue-blind)
#00554C
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #12562d; /* rgb */ color: rgb(18, 86, 45); /* oklch */ color: oklch(40.1% 0.095 152.1);
Tailwind
colors: {
custom: {
50: '#5c8666',
500: '#12562d',
950: '#000000',
},
}SCSS
$custom: #12562d; $custom-light: #5c8666; $custom-dark: #000000;
JSON
{
"hex": "#12562d",
"rgb": {
"r": 18,
"g": 86,
"b": 45
},
"hsl": {
"h": 143.824,
"s": 65.385,
"l": 20.392
},
"oklch": {
"l": 0.40104,
"c": 0.09493,
"h": 152.1
},
"luminance": 0.06974
}Semantic roles & 50–950 ramp
primary
#12562D
secondary
#8F356B
accent
#3FA5E8
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A