#0C531B#0C531B
#0C531B is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.8% C 0.110 H 146.0°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).
Color values
| HEX | #0C531B |
|---|---|
| RGB | rgb(12, 83, 27) |
| HSL | hsl(133, 75%, 19%) |
| HSV | hsv(133, 86%, 33%) |
| CMYK | cmyk(85.5%, 0%, 67.5%, 67.5%) |
| CIE-LAB | lab(30.26, -33.98, 26.30) |
| CIE-LCH | lch(30.26, 42.97, 142.26°) |
| OKLab | oklab(38.76% -0.0915 0.0617) |
| OKLCH | oklch(38.76% 0.11 146) |
| XYZ | xyz(3.4425, 6.3434, 2.0797) |
| Luminance | 0.0634 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 3.33
Deep Green
#02590F
ΔE00 3.39
British Racing Green
#05480D
ΔE00 3.55
Darkgreen (survey)
#054907
ΔE00 3.77
Bottle Green
#044A05
ΔE00 3.79
Forest Green (survey)
#06470C
ΔE00 3.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C531B #530C44
analogous
#20530C #0C531B #0C533E
triadic
#0C531B #1B0C53 #531B0C
tetradic
#0C531B #0C2053 #530C44 #533E0C
square
#0C531B #0C2053 #530C44 #533E0C
split-complementary
#0C531B #3E0C53 #530C20
monochromatic
#041B09 #041E0A #0C531B #14882C #1BBE3E
Accessibility & contrast
On white
9.26
#0C531B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#0C531B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C531B
9.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C531B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C531B | 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)
#544B15
Deuteranopia (green-blind)
#4D4520
Tritanopia (blue-blind)
#005147
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #0c531b; /* rgb */ color: rgb(12, 83, 27); /* oklch */ color: oklch(38.8% 0.110 146.0);
Tailwind
colors: {
custom: {
50: '#5a845a',
500: '#0c531b',
950: '#000000',
},
}SCSS
$custom: #0c531b; $custom-light: #5a845a; $custom-dark: #000000;
JSON
{
"hex": "#0c531b",
"rgb": {
"r": 12,
"g": 83,
"b": 27
},
"hsl": {
"h": 132.676,
"s": 74.737,
"l": 18.627
},
"oklch": {
"l": 0.38758,
"c": 0.11034,
"h": 146
},
"luminance": 0.06344
}Semantic roles & 50–950 ramp
primary
#0C531B
secondary
#8E2D7A
accent
#36CAF1
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79