#12562E#12562E
#12562E is a dark, moderate green. Relative luminance 0.070; OKLCH L 40.1% C 0.094 H 152.6°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).
Color values
| HEX | #12562E |
|---|---|
| RGB | rgb(18, 86, 46) |
| HSL | hsl(145, 65%, 20%) |
| HSV | hsv(145, 79%, 34%) |
| CMYK | cmyk(79.1%, 0%, 46.5%, 66.3%) |
| CIE-LAB | lab(31.76, -30.95, 17.47) |
| CIE-LCH | lch(31.76, 35.54, 150.56°) |
| OKLab | oklab(40.12% -0.0833 0.0432) |
| OKLCH | oklch(40.12% 0.094 152.6) |
| XYZ | xyz(4.0700, 6.9810, 3.7172) |
| Luminance | 0.0698 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 3.15
Pine
#2B5D34
ΔE00 3.49
Pine Green
#0A481E
ΔE00 4.58
Forest Green
#2D5A27
ΔE00 4.97
Hunter Green
#355E3B
ΔE00 5.15
Evergreen
#05472A
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12562E #56123A
analogous
#185612 #12562E #125650
triadic
#12562E #2E1256 #562E12
tetradic
#12562E #121856 #56123A #565012
square
#12562E #121856 #56123A #565012
split-complementary
#12562E #501256 #561218
monochromatic
#05190E #072313 #12562E #1D8949 #27BB64
Accessibility & contrast
On white
8.76
#12562E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#12562E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #12562E
8.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12562E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12562E | 1.00 | 8.76 | 2.40 | 8.76 |
| #FFFFFF | 8.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#564E2B
Deuteranopia (green-blind)
#4E4831
Tritanopia (blue-blind)
#00554C
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #12562e; /* rgb */ color: rgb(18, 86, 46); /* oklch */ color: oklch(40.1% 0.094 152.6);
Tailwind
colors: {
custom: {
50: '#5c8667',
500: '#12562e',
950: '#000000',
},
}SCSS
$custom: #12562e; $custom-light: #5c8667; $custom-dark: #000000;
JSON
{
"hex": "#12562e",
"rgb": {
"r": 18,
"g": 86,
"b": 46
},
"hsl": {
"h": 144.706,
"s": 65.385,
"l": 20.392
},
"oklch": {
"l": 0.40124,
"c": 0.09386,
"h": 152.6
},
"luminance": 0.06981
}Semantic roles & 50–950 ramp
primary
#12562E
secondary
#8F356A
accent
#3FA3E8
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A