#0C511C#0C511C
#0C511C is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.2% C 0.107 H 146.5°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).
Color values
| HEX | #0C511C |
|---|---|
| RGB | rgb(12, 81, 28) |
| HSL | hsl(134, 74%, 18%) |
| HSV | hsv(134, 85%, 32%) |
| CMYK | cmyk(85.2%, 0%, 65.4%, 68.2%) |
| CIE-LAB | lab(29.53, -33.08, 24.94) |
| CIE-LCH | lch(29.53, 41.42, 142.99°) |
| OKLab | oklab(38.15% -0.089 0.0588) |
| OKLCH | oklch(38.15% 0.107 146.5) |
| XYZ | xyz(3.3034, 6.0465, 2.0914) |
| Luminance | 0.0605 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
British Racing Green
#05480D
ΔE00 3.20
Forest Green (survey)
#06470C
ΔE00 3.50
Pine Green
#0A481E
ΔE00 3.55
Darkgreen (survey)
#054907
ΔE00 3.66
Bottle Green
#044A05
ΔE00 3.79
Forest
#0B5509
ΔE00 4.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C511C #510C41
analogous
#1E510C #0C511C #0C513E
triadic
#0C511C #1C0C51 #511C0C
tetradic
#0C511C #0C1E51 #510C41 #513E0C
square
#0C511C #0C1E51 #510C41 #513E0C
split-complementary
#0C511C #3E0C51 #510C1E
monochromatic
#041B09 #041C0A #0C511C #14862E #1CBC41
Accessibility & contrast
On white
9.50
#0C511C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#0C511C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C511C
9.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C511C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C511C | 1.00 | 9.50 | 2.21 | 9.50 |
| #FFFFFF | 9.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524916
Deuteranopia (green-blind)
#4B4320
Tritanopia (blue-blind)
#004F46
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #0c511c; /* rgb */ color: rgb(12, 81, 28); /* oklch */ color: oklch(38.2% 0.107 146.5);
Tailwind
colors: {
custom: {
50: '#59835a',
500: '#0c511c',
950: '#000000',
},
}SCSS
$custom: #0c511c; $custom-light: #59835a; $custom-dark: #000000;
JSON
{
"hex": "#0c511c",
"rgb": {
"r": 12,
"g": 81,
"b": 28
},
"hsl": {
"h": 133.913,
"s": 74.194,
"l": 18.235
},
"oklch": {
"l": 0.38153,
"c": 0.1067,
"h": 146.5
},
"luminance": 0.06047
}Semantic roles & 50–950 ramp
primary
#0C511C
secondary
#8C2C76
accent
#37C6F1
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A04
muted
#797C79