#0C5313#0C5313
#0C5313 is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.7% C 0.117 H 144.0°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).
Color values
| HEX | #0C5313 |
|---|---|
| RGB | rgb(12, 83, 19) |
| HSL | hsl(126, 75%, 19%) |
| HSV | hsv(126, 86%, 33%) |
| CMYK | cmyk(85.5%, 0%, 77.1%, 67.5%) |
| CIE-LAB | lab(30.18, -34.94, 30.07) |
| CIE-LCH | lch(30.18, 46.09, 139.29°) |
| OKLab | oklab(38.67% -0.0945 0.0686) |
| OKLCH | oklch(38.67% 0.117 144) |
| XYZ | xyz(3.3622, 6.3113, 1.6570) |
| Luminance | 0.0631 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 1.80
Deep Green
#02590F
ΔE00 2.31
Bottle Green
#044A05
ΔE00 2.95
Darkgreen (survey)
#054907
ΔE00 3.13
British Racing Green
#05480D
ΔE00 3.42
Forest Green (survey)
#06470C
ΔE00 3.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C5313 #530C4C
analogous
#28530C #0C5313 #0C5336
triadic
#0C5313 #130C53 #53130C
tetradic
#0C5313 #0C2853 #530C4C #53360C
square
#0C5313 #0C2853 #530C4C #53360C
split-complementary
#0C5313 #360C53 #530C28
monochromatic
#041B06 #041E07 #0C5313 #14881F #1BBE2B
Accessibility & contrast
On white
9.28
#0C5313 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#0C5313 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C5313
9.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C5313 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C5313 | 1.00 | 9.28 | 2.26 | 9.28 |
| #FFFFFF | 9.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554A09
Deuteranopia (green-blind)
#4D4519
Tritanopia (blue-blind)
#005046
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #0c5313; /* rgb */ color: rgb(12, 83, 19); /* oklch */ color: oklch(38.7% 0.117 144.0);
Tailwind
colors: {
custom: {
50: '#5a8455',
500: '#0c5313',
950: '#000000',
},
}SCSS
$custom: #0c5313; $custom-light: #5a8455; $custom-dark: #000000;
JSON
{
"hex": "#0c5313",
"rgb": {
"r": 12,
"g": 83,
"b": 19
},
"hsl": {
"h": 125.915,
"s": 74.737,
"l": 18.627
},
"oklch": {
"l": 0.38667,
"c": 0.11677,
"h": 144
},
"luminance": 0.06312
}Semantic roles & 50–950 ramp
primary
#0C5313
secondary
#8E2D85
accent
#36DFF1
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B03
muted
#797C78