#12562F#12562F
#12562F is a dark, moderate green. Relative luminance 0.070; OKLCH L 40.1% C 0.093 H 153.2°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).
Color values
| HEX | #12562F |
|---|---|
| RGB | rgb(18, 86, 47) |
| HSL | hsl(146, 65%, 20%) |
| HSV | hsv(146, 79%, 34%) |
| CMYK | cmyk(79.1%, 0%, 45.3%, 66.3%) |
| CIE-LAB | lab(31.78, -30.74, 16.90) |
| CIE-LCH | lch(31.78, 35.08, 151.21°) |
| OKLab | oklab(40.14% -0.0828 0.0419) |
| OKLCH | oklch(40.14% 0.093 153.2) |
| XYZ | xyz(4.0900, 6.9889, 3.8222) |
| Luminance | 0.0699 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 3.07
Pine
#2B5D34
ΔE00 3.55
Pine Green
#0A481E
ΔE00 4.67
Hunter Green
#355E3B
ΔE00 5.11
Forest Green
#2D5A27
ΔE00 5.17
Evergreen
#05472A
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12562F #561239
analogous
#175612 #12562F #125651
triadic
#12562F #2F1256 #562F12
tetradic
#12562F #121756 #561239 #565112
square
#12562F #121756 #561239 #565112
split-complementary
#12562F #511256 #561217
monochromatic
#05190E #072313 #12562F #1D894B #27BB66
Accessibility & contrast
On white
8.76
#12562F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#12562F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #12562F
8.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12562F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12562F | 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)
#564E2C
Deuteranopia (green-blind)
#4E4832
Tritanopia (blue-blind)
#00554C
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #12562f; /* rgb */ color: rgb(18, 86, 47); /* oklch */ color: oklch(40.1% 0.093 153.2);
Tailwind
colors: {
custom: {
50: '#5c8668',
500: '#12562f',
950: '#000000',
},
}SCSS
$custom: #12562f; $custom-light: #5c8668; $custom-dark: #000000;
JSON
{
"hex": "#12562f",
"rgb": {
"r": 18,
"g": 86,
"b": 47
},
"hsl": {
"h": 145.588,
"s": 65.385,
"l": 20.392
},
"oklch": {
"l": 0.40145,
"c": 0.09281,
"h": 153.2
},
"luminance": 0.06989
}Semantic roles & 50–950 ramp
primary
#12562F
secondary
#8F3568
accent
#3FA0E8
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A