#0C501B#0C501B
#0C501B is a dark, moderate green. Relative luminance 0.059; OKLCH L 37.8% C 0.106 H 146.3°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).
Color values
| HEX | #0C501B |
|---|---|
| RGB | rgb(12, 80, 27) |
| HSL | hsl(133, 74%, 18%) |
| HSV | hsv(133, 85%, 31%) |
| CMYK | cmyk(85%, 0%, 66.3%, 68.6%) |
| CIE-LAB | lab(29.14, -32.83, 25.02) |
| CIE-LCH | lch(29.14, 41.28, 142.69°) |
| OKLab | oklab(37.83% -0.0884 0.0589) |
| OKLCH | oklch(37.83% 0.106 146.3) |
| XYZ | xyz(3.2179, 5.8942, 2.0048) |
| Luminance | 0.0590 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
British Racing Green
#05480D
ΔE00 2.90
Forest Green (survey)
#06470C
ΔE00 3.19
Pine Green
#0A481E
ΔE00 3.35
Darkgreen (survey)
#054907
ΔE00 3.40
Bottle Green
#044A05
ΔE00 3.57
Forest
#0B5509
ΔE00 4.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C501B #500C41
analogous
#1F500C #0C501B #0C503D
triadic
#0C501B #1B0C50 #501B0C
tetradic
#0C501B #0C1F50 #500C41 #503D0C
square
#0C501B #0C1F50 #500C41 #503D0C
split-complementary
#0C501B #3D0C50 #500C1F
monochromatic
#041B09 #041B09 #0C501B #14852D #1CBA3F
Accessibility & contrast
On white
9.64
#0C501B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#0C501B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C501B
9.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C501B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C501B | 1.00 | 9.64 | 2.18 | 9.64 |
| #FFFFFF | 9.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514815
Deuteranopia (green-blind)
#4A431F
Tritanopia (blue-blind)
#004E45
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #0c501b; /* rgb */ color: rgb(12, 80, 27); /* oklch */ color: oklch(37.8% 0.106 146.3);
Tailwind
colors: {
custom: {
50: '#598259',
500: '#0c501b',
950: '#000000',
},
}SCSS
$custom: #0c501b; $custom-light: #598259; $custom-dark: #000000;
JSON
{
"hex": "#0c501b",
"rgb": {
"r": 12,
"g": 80,
"b": 27
},
"hsl": {
"h": 133.235,
"s": 73.913,
"l": 18.039
},
"oklch": {
"l": 0.37829,
"c": 0.10623,
"h": 146.3
},
"luminance": 0.05895
}Semantic roles & 50–950 ramp
primary
#0C501B
secondary
#8B2C76
accent
#37C8F1
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A04
muted
#797C79