#12552F#12552F
#12552F is a dark, moderate green. Relative luminance 0.068; OKLCH L 39.8% C 0.091 H 153.5°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).
Color values
| HEX | #12552F |
|---|---|
| RGB | rgb(18, 85, 47) |
| HSL | hsl(146, 65%, 20%) |
| HSV | hsv(146, 79%, 33%) |
| CMYK | cmyk(78.8%, 0%, 44.7%, 66.7%) |
| CIE-LAB | lab(31.42, -30.31, 16.42) |
| CIE-LCH | lch(31.42, 34.48, 151.56°) |
| OKLab | oklab(39.85% -0.0817 0.0408) |
| OKLCH | oklch(39.85% 0.091 153.5) |
| XYZ | xyz(4.0107, 6.8304, 3.7958) |
| Luminance | 0.0683 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 3.34
Pine
#2B5D34
ΔE00 3.78
Pine Green
#0A481E
ΔE00 4.47
Evergreen
#05472A
ΔE00 4.86
Hunter Green
#355E3B
ΔE00 5.22
Forest Green
#2D5A27
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12552F #551238
analogous
#165512 #12552F #125550
triadic
#12552F #2F1255 #552F12
tetradic
#12552F #121655 #551238 #555012
square
#12552F #121655 #551238 #555012
split-complementary
#12552F #501255 #551216
monochromatic
#05190E #072213 #12552F #1D884B #27BA67
Accessibility & contrast
On white
8.87
#12552F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#12552F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #12552F
8.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12552F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12552F | 1.00 | 8.87 | 2.37 | 8.87 |
| #FFFFFF | 8.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554D2C
Deuteranopia (green-blind)
#4D4832
Tritanopia (blue-blind)
#00544C
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #12552f; /* rgb */ color: rgb(18, 85, 47); /* oklch */ color: oklch(39.8% 0.091 153.5);
Tailwind
colors: {
custom: {
50: '#5b8568',
500: '#12552f',
950: '#000000',
},
}SCSS
$custom: #12552f; $custom-light: #5b8568; $custom-dark: #000000;
JSON
{
"hex": "#12552f",
"rgb": {
"r": 18,
"g": 85,
"b": 47
},
"hsl": {
"h": 145.97,
"s": 65.049,
"l": 20.196
},
"oklch": {
"l": 0.39845,
"c": 0.0913,
"h": 153.5
},
"luminance": 0.06831
}Semantic roles & 50–950 ramp
primary
#12552F
secondary
#8E3567
accent
#409FE8
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A