#0B4F17#0B4F17
#0B4F17 is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.4% C 0.109 H 145.3°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #0B4F17 |
|---|---|
| RGB | rgb(11, 79, 23) |
| HSL | hsl(131, 76%, 18%) |
| HSV | hsv(131, 86%, 31%) |
| CMYK | cmyk(86.1%, 0%, 70.9%, 69%) |
| CIE-LAB | lab(28.71, -33.15, 26.58) |
| CIE-LCH | lch(28.71, 42.49, 141.27°) |
| OKLab | oklab(37.45% -0.0894 0.0618) |
| OKLCH | oklch(37.45% 0.109 145.3) |
| XYZ | xyz(3.0884, 5.7246, 1.7526) |
| Luminance | 0.0573 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
British Racing Green
#05480D
ΔE00 2.30
Forest Green (survey)
#06470C
ΔE00 2.61
Darkgreen (survey)
#054907
ΔE00 2.67
Bottle Green
#044A05
ΔE00 2.81
Forest
#0B5509
ΔE00 3.56
Pine Green
#0A481E
ΔE00 3.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0B4F17 #4F0B43
analogous
#214F0B #0B4F17 #0B4F39
triadic
#0B4F17 #170B4F #4F170B
tetradic
#0B4F17 #0B214F #4F0B43 #4F390B
square
#0B4F17 #0B214F #4F0B43 #4F390B
split-complementary
#0B4F17 #390B4F #4F0B21
monochromatic
#041B08 #041B08 #0B4F17 #128527 #1ABA36
Accessibility & contrast
On white
9.79
#0B4F17 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#0B4F17 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0B4F17
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0B4F17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0B4F17 | 1.00 | 9.79 | 2.15 | 9.79 |
| #FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504710
Deuteranopia (green-blind)
#49421C
Tritanopia (blue-blind)
#004D43
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #0b4f17; /* rgb */ color: rgb(11, 79, 23); /* oklch */ color: oklch(37.4% 0.109 145.3);
Tailwind
colors: {
custom: {
50: '#588157',
500: '#0b4f17',
950: '#000000',
},
}SCSS
$custom: #0b4f17; $custom-light: #588157; $custom-dark: #000000;
JSON
{
"hex": "#0b4f17",
"rgb": {
"r": 11,
"g": 79,
"b": 23
},
"hsl": {
"h": 130.588,
"s": 75.556,
"l": 17.647
},
"oklch": {
"l": 0.37446,
"c": 0.10866,
"h": 145.3
},
"luminance": 0.05725
}Semantic roles & 50–950 ramp
primary
#0B4F17
secondary
#8B2B7A
accent
#36D1F2
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78