#0C5310#0C5310
#0C5310 is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.6% C 0.119 H 143.4°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).
Color values
| HEX | #0C5310 |
|---|---|
| RGB | rgb(12, 83, 16) |
| HSL | hsl(123, 75%, 19%) |
| HSV | hsv(123, 86%, 33%) |
| CMYK | cmyk(85.5%, 0%, 80.7%, 67.5%) |
| CIE-LAB | lab(30.16, -35.23, 31.32) |
| CIE-LCH | lch(30.16, 47.14, 138.36°) |
| OKLab | oklab(38.64% -0.0954 0.0708) |
| OKLCH | oklch(38.64% 0.119 143.4) |
| XYZ | xyz(3.3382, 6.3017, 1.5305) |
| Luminance | 0.0630 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 1.33
Deep Green
#02590F
ΔE00 2.11
Bottle Green
#044A05
ΔE00 2.81
Darkgreen (survey)
#054907
ΔE00 3.08
British Racing Green
#05480D
ΔE00 3.53
Forest Green (survey)
#06470C
ΔE00 3.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C5310 #530C4F
analogous
#2B530C #0C5310 #0C5333
triadic
#0C5310 #100C53 #53100C
tetradic
#0C5310 #0C2B53 #530C4F #53330C
square
#0C5310 #0C2B53 #530C4F #53330C
split-complementary
#0C5310 #330C53 #530C2B
monochromatic
#041B05 #041E06 #0C5310 #14881A #1BBE25
Accessibility & contrast
On white
9.29
#0C5310 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#0C5310 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C5310
9.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C5310 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C5310 | 1.00 | 9.29 | 2.26 | 9.29 |
| #FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554A04
Deuteranopia (green-blind)
#4D4517
Tritanopia (blue-blind)
#005046
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #0c5310; /* rgb */ color: rgb(12, 83, 16); /* oklch */ color: oklch(38.6% 0.119 143.4);
Tailwind
colors: {
custom: {
50: '#5a8453',
500: '#0c5310',
950: '#000000',
},
}SCSS
$custom: #0c5310; $custom-light: #5a8453; $custom-dark: #000000;
JSON
{
"hex": "#0c5310",
"rgb": {
"r": 12,
"g": 83,
"b": 16
},
"hsl": {
"h": 123.38,
"s": 74.737,
"l": 18.627
},
"oklch": {
"l": 0.38641,
"c": 0.11882,
"h": 143.4
},
"luminance": 0.06302
}Semantic roles & 50–950 ramp
primary
#0C5310
secondary
#8E2D89
accent
#36E7F1
background
#F5F8F4
surface
#E9EFE7
border
#C5CAC3
text
#040B03
muted
#797C78