#0C5618#0C5618
#0C5618 is a dark, moderate green. Relative luminance 0.068; OKLCH L 39.6% C 0.117 H 145.0°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).
Color values
| HEX | #0C5618 |
|---|---|
| RGB | rgb(12, 86, 24) |
| HSL | hsl(130, 76%, 19%) |
| HSV | hsv(130, 86%, 34%) |
| CMYK | cmyk(86%, 0%, 72.1%, 66.3%) |
| CIE-LAB | lab(31.35, -35.48, 29.00) |
| CIE-LCH | lch(31.35, 45.82, 140.74°) |
| OKLab | oklab(39.65% -0.0957 0.067) |
| OKLCH | oklch(39.65% 0.117 145) |
| XYZ | xyz(3.6440, 6.7992, 1.9843) |
| Luminance | 0.0680 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.02
Forest
#0B5509
ΔE00 2.25
Bottle Green
#044A05
ΔE00 4.01
Forest Green
#2D5A27
ΔE00 4.10
Darkgreen (survey)
#054907
ΔE00 4.17
British Racing Green
#05480D
ΔE00 4.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C5618 #560C4A
analogous
#25560C #0C5618 #0C563D
triadic
#0C5618 #180C56 #56180C
tetradic
#0C5618 #0C2556 #560C4A #563D0C
square
#0C5618 #0C2556 #560C4A #563D0C
split-complementary
#0C5618 #3D0C56 #560C25
monochromatic
#041B07 #052009 #0C5618 #138C27 #1BC136
Accessibility & contrast
On white
8.90
#0C5618 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#0C5618 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C5618
8.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C5618 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C5618 | 1.00 | 8.90 | 2.36 | 8.90 |
| #FFFFFF | 8.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#584D10
Deuteranopia (green-blind)
#50481E
Tritanopia (blue-blind)
#005449
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #0c5618; /* rgb */ color: rgb(12, 86, 24); /* oklch */ color: oklch(39.6% 0.117 145.0);
Tailwind
colors: {
custom: {
50: '#5b8658',
500: '#0c5618',
950: '#000000',
},
}SCSS
$custom: #0c5618; $custom-light: #5b8658; $custom-dark: #000000;
JSON
{
"hex": "#0c5618",
"rgb": {
"r": 12,
"g": 86,
"b": 24
},
"hsl": {
"h": 129.73,
"s": 75.51,
"l": 19.216
},
"oklch": {
"l": 0.39647,
"c": 0.11685,
"h": 145
},
"luminance": 0.068
}Semantic roles & 50–950 ramp
primary
#0C5618
secondary
#912D81
accent
#36D4F2
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B03
muted
#797C78