#12522C#12522C
#12522C is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.9% C 0.090 H 152.6°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).
Color values
| HEX | #12522C |
|---|---|
| RGB | rgb(18, 82, 44) |
| HSL | hsl(144, 64%, 20%) |
| HSV | hsv(144, 78%, 32%) |
| CMYK | cmyk(78%, 0%, 46.3%, 67.8%) |
| CIE-LAB | lab(30.27, -29.64, 16.72) |
| CIE-LCH | lch(30.27, 34.04, 150.57°) |
| OKLab | oklab(38.88% -0.0799 0.0414) |
| OKLCH | oklch(38.88% 0.09 152.6) |
| XYZ | xyz(3.7210, 6.3446, 3.4109) |
| Luminance | 0.0635 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine Green
#0A481E
ΔE00 3.54
Evergreen
#05472A
ΔE00 4.16
Spruce
#0A5F38
ΔE00 4.31
Pine
#2B5D34
ΔE00 4.35
Forest Green
#2D5A27
ΔE00 5.52
Hunter Green
#355E3B
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12522C #521238
analogous
#185212 #12522C #12524C
triadic
#12522C #2C1252 #522C12
tetradic
#12522C #121852 #521238 #524C12
square
#12522C #121852 #521238 #524C12
split-complementary
#12522C #4C1252 #521218
monochromatic
#06190D #072011 #12522C #1D8447 #28B662
Accessibility & contrast
On white
9.26
#12522C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#12522C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #12522C
9.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12522C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12522C | 1.00 | 9.26 | 2.27 | 9.26 |
| #FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524B29
Deuteranopia (green-blind)
#4A452F
Tritanopia (blue-blind)
#005149
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #12522c; /* rgb */ color: rgb(18, 82, 44); /* oklch */ color: oklch(38.9% 0.090 152.6);
Tailwind
colors: {
custom: {
50: '#5b8365',
500: '#12522c',
950: '#000000',
},
}SCSS
$custom: #12522c; $custom-light: #5b8365; $custom-dark: #000000;
JSON
{
"hex": "#12522c",
"rgb": {
"r": 18,
"g": 82,
"b": 44
},
"hsl": {
"h": 144.375,
"s": 64,
"l": 19.608
},
"oklch": {
"l": 0.38877,
"c": 0.08995,
"h": 152.6
},
"luminance": 0.06345
}Semantic roles & 50–950 ramp
primary
#12522C
secondary
#8B3568
accent
#41A3E7
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B05
muted
#797C7A