#12522F#12522F
#12522F is a dark, moderate green. Relative luminance 0.064; OKLCH L 38.9% C 0.087 H 154.5°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).
Color values
| HEX | #12522F |
|---|---|
| RGB | rgb(18, 82, 47) |
| HSL | hsl(147, 64%, 20%) |
| HSV | hsv(147, 78%, 32%) |
| CMYK | cmyk(78%, 0%, 42.7%, 67.8%) |
| CIE-LAB | lab(30.32, -29.00, 14.98) |
| CIE-LCH | lch(30.32, 32.64, 152.69°) |
| OKLab | oklab(38.94% -0.0783 0.0374) |
| OKLCH | oklch(38.94% 0.087 154.5) |
| XYZ | xyz(3.7795, 6.3680, 3.7187) |
| Luminance | 0.0637 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Evergreen
#05472A
ΔE00 3.73
Pine Green
#0A481E
ΔE00 4.06
Spruce
#0A5F38
ΔE00 4.26
Pine
#2B5D34
ΔE00 4.60
Hunter Green
#355E3B
ΔE00 5.68
Forest Green
#2D5A27
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12522F #521235
analogous
#155212 #12522F #12524F
triadic
#12522F #2F1252 #522F12
tetradic
#12522F #121552 #521235 #524F12
square
#12522F #121552 #521235 #524F12
split-complementary
#12522F #4F1252 #521215
monochromatic
#06190E #072012 #12522F #1D844C #28B669
Accessibility & contrast
On white
9.24
#12522F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#12522F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #12522F
9.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12522F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12522F | 1.00 | 9.24 | 2.27 | 9.24 |
| #FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524B2D
Deuteranopia (green-blind)
#4A4531
Tritanopia (blue-blind)
#005149
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #12522f; /* rgb */ color: rgb(18, 82, 47); /* oklch */ color: oklch(38.9% 0.087 154.5);
Tailwind
colors: {
custom: {
50: '#5a8368',
500: '#12522f',
950: '#000000',
},
}SCSS
$custom: #12522f; $custom-light: #5a8368; $custom-dark: #000000;
JSON
{
"hex": "#12522f",
"rgb": {
"r": 18,
"g": 82,
"b": 47
},
"hsl": {
"h": 147.188,
"s": 64,
"l": 19.608
},
"oklch": {
"l": 0.38942,
"c": 0.08674,
"h": 154.5
},
"luminance": 0.06368
}Semantic roles & 50–950 ramp
primary
#12522F
secondary
#8B3564
accent
#419CE7
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A