#0C5522#0C5522
#0C5522 is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.5% C 0.107 H 148.1°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).
Color values
| HEX | #0C5522 |
|---|---|
| RGB | rgb(12, 85, 34) |
| HSL | hsl(138, 75%, 19%) |
| HSV | hsv(138, 86%, 33%) |
| CMYK | cmyk(85.9%, 0%, 60%, 66.7%) |
| CIE-LAB | lab(31.09, -33.70, 23.52) |
| CIE-LCH | lch(31.09, 41.10, 145.08°) |
| OKLab | oklab(39.47% -0.0905 0.0563) |
| OKLCH | oklch(39.47% 0.107 148.1) |
| XYZ | xyz(3.6886, 6.6902, 2.6100) |
| Luminance | 0.0669 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 4.01
Deep Green
#02590F
ΔE00 4.26
Pine Green
#0A481E
ΔE00 4.31
Forest
#0B5509
ΔE00 4.55
Pine
#2B5D34
ΔE00 4.59
British Racing Green
#05480D
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C5522 #550C3F
analogous
#1B550C #0C5522 #0C5547
triadic
#0C5522 #220C55 #55220C
tetradic
#0C5522 #0C1B55 #550C3F #55470C
square
#0C5522 #0C1B55 #550C3F #55470C
split-complementary
#0C5522 #470C55 #550C1B
monochromatic
#041B0B #041F0D #0C5522 #148B37 #1BC04D
Accessibility & contrast
On white
8.98
#0C5522 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#0C5522 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C5522
8.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C5522 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C5522 | 1.00 | 8.98 | 2.34 | 8.98 |
| #FFFFFF | 8.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#564D1D
Deuteranopia (green-blind)
#4E4726
Tritanopia (blue-blind)
#00534A
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #0c5522; /* rgb */ color: rgb(12, 85, 34); /* oklch */ color: oklch(39.5% 0.107 148.1);
Tailwind
colors: {
custom: {
50: '#5a865e',
500: '#0c5522',
950: '#000000',
},
}SCSS
$custom: #0c5522; $custom-light: #5a865e; $custom-dark: #000000;
JSON
{
"hex": "#0c5522",
"rgb": {
"r": 12,
"g": 85,
"b": 34
},
"hsl": {
"h": 138.082,
"s": 75.258,
"l": 19.02
},
"oklch": {
"l": 0.39473,
"c": 0.10659,
"h": 148.1
},
"luminance": 0.06691
}Semantic roles & 50–950 ramp
primary
#0C5522
secondary
#902D72
accent
#36B9F2
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79