#0C5518#0C5518
#0C5518 is a dark, moderate green. Relative luminance 0.066; OKLCH L 39.3% C 0.116 H 145.1°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).
Color values
| HEX | #0C5518 |
|---|---|
| RGB | rgb(12, 85, 24) |
| HSL | hsl(130, 75%, 19%) |
| HSV | hsv(130, 86%, 33%) |
| CMYK | cmyk(85.9%, 0%, 71.8%, 66.7%) |
| CIE-LAB | lab(30.97, -35.11, 28.59) |
| CIE-LCH | lch(30.97, 45.28, 140.84°) |
| OKLab | oklab(39.34% -0.0947 0.0662) |
| OKLCH | oklch(39.34% 0.116 145.1) |
| XYZ | xyz(3.5647, 6.6407, 1.9579) |
| Luminance | 0.0664 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.30
Forest
#0B5509
ΔE00 2.36
Bottle Green
#044A05
ΔE00 3.78
Darkgreen (survey)
#054907
ΔE00 3.91
British Racing Green
#05480D
ΔE00 4.01
Forest Green
#2D5A27
ΔE00 4.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C5518 #550C49
analogous
#25550C #0C5518 #0C553D
triadic
#0C5518 #180C55 #55180C
tetradic
#0C5518 #0C2555 #550C49 #553D0C
square
#0C5518 #0C2555 #550C49 #553D0C
split-complementary
#0C5518 #3D0C55 #550C25
monochromatic
#041B08 #041F09 #0C5518 #148B27 #1BC036
Accessibility & contrast
On white
9.02
#0C5518 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#0C5518 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C5518
9.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C5518 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C5518 | 1.00 | 9.02 | 2.33 | 9.02 |
| #FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#574C10
Deuteranopia (green-blind)
#4F471E
Tritanopia (blue-blind)
#005348
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #0c5518; /* rgb */ color: rgb(12, 85, 24); /* oklch */ color: oklch(39.3% 0.116 145.1);
Tailwind
colors: {
custom: {
50: '#5a8658',
500: '#0c5518',
950: '#000000',
},
}SCSS
$custom: #0c5518; $custom-light: #5a8658; $custom-dark: #000000;
JSON
{
"hex": "#0c5518",
"rgb": {
"r": 12,
"g": 85,
"b": 24
},
"hsl": {
"h": 129.863,
"s": 75.258,
"l": 19.02
},
"oklch": {
"l": 0.39338,
"c": 0.11554,
"h": 145.1
},
"luminance": 0.06641
}Semantic roles & 50–950 ramp
primary
#0C5518
secondary
#902D80
accent
#36D3F2
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B03
muted
#797C78