#0C532A#0C532A
#0C532A is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.0% C 0.096 H 152.1°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).
Color values
| HEX | #0C532A |
|---|---|
| RGB | rgb(12, 83, 42) |
| HSL | hsl(145, 75%, 19%) |
| HSV | hsv(145, 86%, 33%) |
| CMYK | cmyk(85.5%, 0%, 49.4%, 67.5%) |
| CIE-LAB | lab(30.48, -31.44, 18.16) |
| CIE-LCH | lch(30.48, 36.31, 149.99°) |
| OKLab | oklab(39% -0.0845 0.0447) |
| OKLCH | oklch(39% 0.096 152.1) |
| XYZ | xyz(3.6625, 6.4314, 3.2384) |
| Luminance | 0.0643 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine Green
#0A481E
ΔE00 3.58
Spruce
#0A5F38
ΔE00 4.09
Pine
#2B5D34
ΔE00 4.35
Evergreen
#05472A
ΔE00 4.81
Forest Green
#2D5A27
ΔE00 5.26
British Racing Green
#05480D
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C532A #530C35
analogous
#11530C #0C532A #0C534D
triadic
#0C532A #2A0C53 #532A0C
tetradic
#0C532A #0C1153 #530C35 #534D0C
square
#0C532A #0C1153 #530C35 #534D0C
split-complementary
#0C532A #4D0C53 #530C11
monochromatic
#041B0E #041E0F #0C532A #148845 #1BBE60
Accessibility & contrast
On white
9.18
#0C532A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#0C532A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C532A
9.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C532A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C532A | 1.00 | 9.18 | 2.29 | 9.18 |
| #FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#534B27
Deuteranopia (green-blind)
#4B452D
Tritanopia (blue-blind)
#005249
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #0c532a; /* rgb */ color: rgb(12, 83, 42); /* oklch */ color: oklch(39.0% 0.096 152.1);
Tailwind
colors: {
custom: {
50: '#598464',
500: '#0c532a',
950: '#000000',
},
}SCSS
$custom: #0c532a; $custom-light: #598464; $custom-dark: #000000;
JSON
{
"hex": "#0c532a",
"rgb": {
"r": 12,
"g": 83,
"b": 42
},
"hsl": {
"h": 145.352,
"s": 74.737,
"l": 18.627
},
"oklch": {
"l": 0.39003,
"c": 0.09557,
"h": 152.1
},
"luminance": 0.06432
}Semantic roles & 50–950 ramp
primary
#0C532A
secondary
#8E2D65
accent
#36A2F1
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B05
muted
#797C7A