#0B5212#0B5212
#0B5212 is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.3% C 0.116 H 144.0°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).
Color values
| HEX | #0B5212 |
|---|---|
| RGB | rgb(11, 82, 18) |
| HSL | hsl(126, 76%, 18%) |
| HSV | hsv(126, 87%, 32%) |
| CMYK | cmyk(86.6%, 0%, 78%, 67.8%) |
| CIE-LAB | lab(29.79, -34.83, 30.09) |
| CIE-LCH | lch(29.79, 46.02, 139.18°) |
| OKLab | oklab(38.33% -0.0942 0.0685) |
| OKLCH | oklch(38.33% 0.116 144) |
| XYZ | xyz(3.2643, 6.1490, 1.5870) |
| Luminance | 0.0615 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 1.90
Deep Green
#02590F
ΔE00 2.55
Bottle Green
#044A05
ΔE00 2.64
Darkgreen (survey)
#054907
ΔE00 2.82
British Racing Green
#05480D
ΔE00 3.12
Forest Green (survey)
#06470C
ΔE00 3.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0B5212 #520B4B
analogous
#27520B #0B5212 #0B5235
triadic
#0B5212 #120B52 #52120B
tetradic
#0B5212 #0B2752 #520B4B #52350B
square
#0B5212 #0B2752 #520B4B #52350B
split-complementary
#0B5212 #350B52 #520B27
monochromatic
#041B06 #041C06 #0B5212 #12881E #19BE2A
Accessibility & contrast
On white
9.42
#0B5212 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#0B5212 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0B5212
9.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0B5212 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0B5212 | 1.00 | 9.42 | 2.23 | 9.42 |
| #FFFFFF | 9.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544908
Deuteranopia (green-blind)
#4C4419
Tritanopia (blue-blind)
#004F45
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #0b5212; /* rgb */ color: rgb(11, 82, 18); /* oklch */ color: oklch(38.3% 0.116 144.0);
Tailwind
colors: {
custom: {
50: '#5a8354',
500: '#0b5212',
950: '#000000',
},
}SCSS
$custom: #0b5212; $custom-light: #5a8354; $custom-dark: #000000;
JSON
{
"hex": "#0b5212",
"rgb": {
"r": 11,
"g": 82,
"b": 18
},
"hsl": {
"h": 125.915,
"s": 76.344,
"l": 18.235
},
"oklch": {
"l": 0.38328,
"c": 0.11647,
"h": 144
},
"luminance": 0.06149
}Semantic roles & 50–950 ramp
primary
#0B5212
secondary
#8E2B84
accent
#35E0F3
background
#F5F8F5
surface
#E9EFE8
border
#C5CAC4
text
#040B03
muted
#797C78