#0C5122#0C5122
#0C5122 is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.2% C 0.101 H 148.8°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).
Color values
| HEX | #0C5122 |
|---|---|
| RGB | rgb(12, 81, 34) |
| HSL | hsl(139, 74%, 18%) |
| HSV | hsv(139, 85%, 32%) |
| CMYK | cmyk(85.2%, 0%, 58%, 68.2%) |
| CIE-LAB | lab(29.61, -32.13, 21.73) |
| CIE-LCH | lch(29.61, 38.78, 145.92°) |
| OKLab | oklab(38.24% -0.0863 0.0523) |
| OKLCH | oklch(38.24% 0.101 148.8) |
| XYZ | xyz(3.3825, 6.0781, 2.5080) |
| Luminance | 0.0608 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine Green
#0A481E
ΔE00 2.90
British Racing Green
#05480D
ΔE00 4.13
Forest Green (survey)
#06470C
ΔE00 4.39
Forest Green
#2D5A27
ΔE00 4.71
Darkgreen (survey)
#054907
ΔE00 4.83
Pine
#2B5D34
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C5122 #510C3B
analogous
#18510C #0C5122 #0C5144
triadic
#0C5122 #220C51 #51220C
tetradic
#0C5122 #0C1851 #510C3B #51440C
square
#0C5122 #0C1851 #510C3B #51440C
split-complementary
#0C5122 #440C51 #510C18
monochromatic
#041B0B #041C0C #0C5122 #148638 #1CBC4F
Accessibility & contrast
On white
9.48
#0C5122 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#0C5122 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C5122
9.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C5122 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C5122 | 1.00 | 9.48 | 2.22 | 9.48 |
| #FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#52491E
Deuteranopia (green-blind)
#4A4426
Tritanopia (blue-blind)
#004F46
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #0c5122; /* rgb */ color: rgb(12, 81, 34); /* oklch */ color: oklch(38.2% 0.101 148.8);
Tailwind
colors: {
custom: {
50: '#59835e',
500: '#0c5122',
950: '#000000',
},
}SCSS
$custom: #0c5122; $custom-light: #59835e; $custom-dark: #000000;
JSON
{
"hex": "#0c5122",
"rgb": {
"r": 12,
"g": 81,
"b": 34
},
"hsl": {
"h": 139.13,
"s": 74.194,
"l": 18.235
},
"oklch": {
"l": 0.38244,
"c": 0.10091,
"h": 148.8
},
"luminance": 0.06079
}Semantic roles & 50–950 ramp
primary
#0C5122
secondary
#8C2C6E
accent
#37B6F1
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A04
muted
#797C79