#12542E#12542E
#12542E is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.5% C 0.091 H 153.2°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).
Color values
| HEX | #12542E |
|---|---|
| RGB | rgb(18, 84, 46) |
| HSL | hsl(145, 65%, 20%) |
| HSV | hsv(145, 79%, 33%) |
| CMYK | cmyk(78.6%, 0%, 45.2%, 67.1%) |
| CIE-LAB | lab(31.03, -30.09, 16.52) |
| CIE-LCH | lch(31.03, 34.33, 151.23°) |
| OKLab | oklab(39.52% -0.0811 0.041) |
| OKLCH | oklch(39.52% 0.091 153.2) |
| XYZ | xyz(3.9126, 6.6661, 3.6647) |
| Luminance | 0.0667 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 3.66
Pine
#2B5D34
ΔE00 3.95
Pine Green
#0A481E
ΔE00 4.16
Evergreen
#05472A
ΔE00 4.62
Hunter Green
#355E3B
ΔE00 5.37
Forest Green
#2D5A27
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12542E #541238
analogous
#175412 #12542E #12544F
triadic
#12542E #2E1254 #542E12
tetradic
#12542E #121754 #541238 #544F12
square
#12542E #121754 #541238 #544F12
split-complementary
#12542E #4F1254 #541217
monochromatic
#05190E #072212 #12542E #1D864A #28B965
Accessibility & contrast
On white
9.00
#12542E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#12542E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #12542E
9.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12542E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12542E | 1.00 | 9.00 | 2.33 | 9.00 |
| #FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544C2B
Deuteranopia (green-blind)
#4C4731
Tritanopia (blue-blind)
#00534B
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #12542e; /* rgb */ color: rgb(18, 84, 46); /* oklch */ color: oklch(39.5% 0.091 153.2);
Tailwind
colors: {
custom: {
50: '#5b8567',
500: '#12542e',
950: '#000000',
},
}SCSS
$custom: #12542e; $custom-light: #5b8567; $custom-dark: #000000;
JSON
{
"hex": "#12542e",
"rgb": {
"r": 18,
"g": 84,
"b": 46
},
"hsl": {
"h": 145.455,
"s": 64.706,
"l": 20
},
"oklch": {
"l": 0.39523,
"c": 0.09085,
"h": 153.2
},
"luminance": 0.06667
}Semantic roles & 50–950 ramp
primary
#12542E
secondary
#8D3568
accent
#40A1E8
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A