#12552E#12552E
#12552E is a dark, moderate green. Relative luminance 0.068; OKLCH L 39.8% C 0.092 H 152.9°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).
Color values
| HEX | #12552E |
|---|---|
| RGB | rgb(18, 85, 46) |
| HSL | hsl(145, 65%, 20%) |
| HSV | hsv(145, 79%, 33%) |
| CMYK | cmyk(78.8%, 0%, 45.9%, 66.7%) |
| CIE-LAB | lab(31.40, -30.52, 17.00) |
| CIE-LCH | lch(31.40, 34.94, 150.89°) |
| OKLab | oklab(39.82% -0.0822 0.0421) |
| OKLCH | oklch(39.82% 0.092 152.9) |
| XYZ | xyz(3.9907, 6.8224, 3.6908) |
| Luminance | 0.0682 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 3.39
Pine
#2B5D34
ΔE00 3.71
Pine Green
#0A481E
ΔE00 4.35
Evergreen
#05472A
ΔE00 5.00
Forest Green
#2D5A27
ΔE00 5.18
Hunter Green
#355E3B
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12552E #551239
analogous
#175512 #12552E #125550
triadic
#12552E #2E1255 #552E12
tetradic
#12552E #121755 #551239 #555012
square
#12552E #121755 #551239 #555012
split-complementary
#12552E #501255 #551217
monochromatic
#05190E #072213 #12552E #1D8849 #27BA65
Accessibility & contrast
On white
8.88
#12552E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#12552E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #12552E
8.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12552E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12552E | 1.00 | 8.88 | 2.36 | 8.88 |
| #FFFFFF | 8.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554D2B
Deuteranopia (green-blind)
#4D4831
Tritanopia (blue-blind)
#00544B
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #12552e; /* rgb */ color: rgb(18, 85, 46); /* oklch */ color: oklch(39.8% 0.092 152.9);
Tailwind
colors: {
custom: {
50: '#5b8567',
500: '#12552e',
950: '#000000',
},
}SCSS
$custom: #12552e; $custom-light: #5b8567; $custom-dark: #000000;
JSON
{
"hex": "#12552e",
"rgb": {
"r": 18,
"g": 85,
"b": 46
},
"hsl": {
"h": 145.075,
"s": 65.049,
"l": 20.196
},
"oklch": {
"l": 0.39824,
"c": 0.09236,
"h": 152.9
},
"luminance": 0.06823
}Semantic roles & 50–950 ramp
primary
#12552E
secondary
#8E3569
accent
#40A2E8
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A