#0C531F#0C531F
#0C531F is a dark, moderate green. Relative luminance 0.064; OKLCH L 38.8% C 0.107 H 147.3°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).
Color values
| HEX | #0C531F |
|---|---|
| RGB | rgb(12, 83, 31) |
| HSL | hsl(136, 75%, 19%) |
| HSV | hsv(136, 86%, 33%) |
| CMYK | cmyk(85.5%, 0%, 62.7%, 67.5%) |
| CIE-LAB | lab(30.31, -33.40, 24.24) |
| CIE-LCH | lch(30.31, 41.27, 144.03°) |
| OKLab | oklab(38.81% -0.0898 0.0576) |
| OKLCH | oklch(38.81% 0.107 147.3) |
| XYZ | xyz(3.4919, 6.3632, 2.3402) |
| Luminance | 0.0636 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine Green
#0A481E
ΔE00 3.88
British Racing Green
#05480D
ΔE00 3.92
Deep Green
#02590F
ΔE00 4.16
Forest Green
#2D5A27
ΔE00 4.18
Forest
#0B5509
ΔE00 4.22
Forest Green (survey)
#06470C
ΔE00 4.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C531F #530C40
analogous
#1C530C #0C531F #0C5342
triadic
#0C531F #1F0C53 #531F0C
tetradic
#0C531F #0C1C53 #530C40 #53420C
square
#0C531F #0C1C53 #530C40 #53420C
split-complementary
#0C531F #420C53 #530C1C
monochromatic
#041B0A #041E0B #0C531F #148833 #1BBE47
Accessibility & contrast
On white
9.24
#0C531F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#0C531F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C531F
9.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C531F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C531F | 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)
#544B1A
Deuteranopia (green-blind)
#4C4523
Tritanopia (blue-blind)
#005148
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #0c531f; /* rgb */ color: rgb(12, 83, 31); /* oklch */ color: oklch(38.8% 0.107 147.3);
Tailwind
colors: {
custom: {
50: '#59845c',
500: '#0c531f',
950: '#000000',
},
}SCSS
$custom: #0c531f; $custom-light: #59845c; $custom-dark: #000000;
JSON
{
"hex": "#0c531f",
"rgb": {
"r": 12,
"g": 83,
"b": 31
},
"hsl": {
"h": 136.056,
"s": 74.737,
"l": 18.627
},
"oklch": {
"l": 0.38813,
"c": 0.10667,
"h": 147.3
},
"luminance": 0.06364
}Semantic roles & 50–950 ramp
primary
#0C531F
secondary
#8E2D74
accent
#36BFF1
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79