#0C5F1A#0C5F1A
#0C5F1A is a dark, vivid green. Relative luminance 0.083; OKLCH L 42.4% C 0.127 H 144.9°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #0C5F1A |
|---|---|
| RGB | rgb(12, 95, 26) |
| HSL | hsl(130, 78%, 21%) |
| HSV | hsv(130, 87%, 37%) |
| CMYK | cmyk(87.4%, 0%, 72.6%, 62.7%) |
| CIE-LAB | lab(34.67, -38.48, 31.66) |
| CIE-LCH | lch(34.67, 49.84, 140.55°) |
| OKLab | oklab(42.42% -0.1038 0.0729) |
| OKLCH | oklch(42.42% 0.127 144.9) |
| XYZ | xyz(4.4300, 8.3366, 2.3527) |
| Luminance | 0.0834 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.13
Forest
#0B5509
ΔE00 3.48
Darkgreen
#006400
ΔE00 3.84
Forest Green
#2D5A27
ΔE00 4.73
Pine
#2B5D34
ΔE00 6.32
Bottle Green
#044A05
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C5F1A #5F0C51
analogous
#275F0C #0C5F1A #0C5F43
triadic
#0C5F1A #1A0C5F #5F1A0C
tetradic
#0C5F1A #0C275F #5F0C51 #5F430C
square
#0C5F1A #0C275F #5F0C51 #5F430C
split-complementary
#0C5F1A #430C5F #5F0C27
monochromatic
#031B07 #05290B #0C5F1A #139529 #1ACC38
Accessibility & contrast
On white
7.87
#0C5F1A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#0C5F1A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C5F1A
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C5F1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C5F1A | 1.00 | 7.87 | 2.67 | 7.87 |
| #FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#615510
Deuteranopia (green-blind)
#584F21
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #0c5f1a; /* rgb */ color: rgb(12, 95, 26); /* oklch */ color: oklch(42.4% 0.127 144.9);
Tailwind
colors: {
custom: {
50: '#5d8d5a',
500: '#0c5f1a',
950: '#000000',
},
}SCSS
$custom: #0c5f1a; $custom-light: #5d8d5a; $custom-dark: #000000;
JSON
{
"hex": "#0c5f1a",
"rgb": {
"r": 12,
"g": 95,
"b": 26
},
"hsl": {
"h": 130.12,
"s": 77.57,
"l": 20.98
},
"oklch": {
"l": 0.4242,
"c": 0.12685,
"h": 144.9
},
"luminance": 0.08337
}Semantic roles & 50–950 ramp
primary
#0C5F1A
secondary
#992D87
accent
#34D4F4
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79