#0C531E#0C531E
#0C531E is a dark, moderate green. Relative luminance 0.064; OKLCH L 38.8% C 0.108 H 147.0°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).
Color values
| HEX | #0C531E |
|---|---|
| RGB | rgb(12, 83, 30) |
| HSL | hsl(135, 75%, 19%) |
| HSV | hsv(135, 86%, 33%) |
| CMYK | cmyk(85.5%, 0%, 63.9%, 67.5%) |
| CIE-LAB | lab(30.30, -33.55, 24.76) |
| CIE-LCH | lch(30.30, 41.70, 143.57°) |
| OKLab | oklab(38.8% -0.0902 0.0586) |
| OKLCH | oklch(38.8% 0.108 147) |
| XYZ | xyz(3.4790, 6.3580, 2.2719) |
| Luminance | 0.0636 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
British Racing Green
#05480D
ΔE00 3.81
Deep Green
#02590F
ΔE00 3.96
Forest
#0B5509
ΔE00 3.99
Pine Green
#0A481E
ΔE00 4.00
Forest Green (survey)
#06470C
ΔE00 4.12
Forest Green
#2D5A27
ΔE00 4.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C531E #530C41
analogous
#1D530C #0C531E #0C5341
triadic
#0C531E #1E0C53 #531E0C
tetradic
#0C531E #0C1D53 #530C41 #53410C
square
#0C531E #0C1D53 #530C41 #53410C
split-complementary
#0C531E #410C53 #530C1D
monochromatic
#041B0A #041E0B #0C531E #148831 #1BBE45
Accessibility & contrast
On white
9.24
#0C531E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#0C531E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C531E
9.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C531E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C531E | 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)
#544B19
Deuteranopia (green-blind)
#4C4522
Tritanopia (blue-blind)
#005147
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #0c531e; /* rgb */ color: rgb(12, 83, 30); /* oklch */ color: oklch(38.8% 0.108 147.0);
Tailwind
colors: {
custom: {
50: '#59845c',
500: '#0c531e',
950: '#000000',
},
}SCSS
$custom: #0c531e; $custom-light: #59845c; $custom-dark: #000000;
JSON
{
"hex": "#0c531e",
"rgb": {
"r": 12,
"g": 83,
"b": 30
},
"hsl": {
"h": 135.211,
"s": 74.737,
"l": 18.627
},
"oklch": {
"l": 0.38798,
"c": 0.10761,
"h": 147
},
"luminance": 0.06358
}Semantic roles & 50–950 ramp
primary
#0C531E
secondary
#8E2D75
accent
#36C2F1
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79