#0C5F19#0C5F19
#0C5F19 is a dark, vivid green. Relative luminance 0.083; OKLCH L 42.4% C 0.128 H 144.7°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #0C5F19 |
|---|---|
| RGB | rgb(12, 95, 25) |
| HSL | hsl(129, 78%, 21%) |
| HSV | hsv(129, 87%, 37%) |
| CMYK | cmyk(87.4%, 0%, 73.7%, 62.7%) |
| CIE-LAB | lab(34.67, -38.60, 32.11) |
| CIE-LCH | lch(34.67, 50.21, 140.24°) |
| OKLab | oklab(42.41% -0.1041 0.0737) |
| OKLCH | oklch(42.41% 0.128 144.7) |
| XYZ | xyz(4.4190, 8.3322, 2.2949) |
| Luminance | 0.0833 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.06
Forest
#0B5509
ΔE00 3.41
Darkgreen
#006400
ΔE00 3.69
Forest Green
#2D5A27
ΔE00 4.81
Pine
#2B5D34
ΔE00 6.46
Bottle Green
#044A05
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C5F19 #5F0C52
analogous
#285F0C #0C5F19 #0C5F42
triadic
#0C5F19 #190C5F #5F190C
tetradic
#0C5F19 #0C285F #5F0C52 #5F420C
square
#0C5F19 #0C285F #5F0C52 #5F420C
split-complementary
#0C5F19 #420C5F #5F0C28
monochromatic
#031B07 #05290B #0C5F19 #139527 #1ACC36
Accessibility & contrast
On white
7.88
#0C5F19 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#0C5F19 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C5F19
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C5F19 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C5F19 | 1.00 | 7.88 | 2.67 | 7.88 |
| #FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#61550F
Deuteranopia (green-blind)
#584F20
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #0c5f19; /* rgb */ color: rgb(12, 95, 25); /* oklch */ color: oklch(42.4% 0.128 144.7);
Tailwind
colors: {
custom: {
50: '#5d8d5a',
500: '#0c5f19',
950: '#000000',
},
}SCSS
$custom: #0c5f19; $custom-light: #5d8d5a; $custom-dark: #000000;
JSON
{
"hex": "#0c5f19",
"rgb": {
"r": 12,
"g": 95,
"b": 25
},
"hsl": {
"h": 129.398,
"s": 77.57,
"l": 20.98
},
"oklch": {
"l": 0.4241,
"c": 0.12759,
"h": 144.7
},
"luminance": 0.08333
}Semantic roles & 50–950 ramp
primary
#0C5F19
secondary
#992D88
accent
#34D6F4
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79