#0B4F18#0B4F18
#0B4F18 is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.5% C 0.108 H 145.6°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #0B4F18 |
|---|---|
| RGB | rgb(11, 79, 24) |
| HSL | hsl(131, 76%, 18%) |
| HSV | hsv(131, 86%, 31%) |
| CMYK | cmyk(86.1%, 0%, 69.6%, 69%) |
| CIE-LAB | lab(28.72, -33.02, 26.09) |
| CIE-LCH | lch(28.72, 42.08, 141.69°) |
| OKLab | oklab(37.46% -0.089 0.0609) |
| OKLCH | oklch(37.46% 0.108 145.6) |
| XYZ | xyz(3.0986, 5.7287, 1.8064) |
| Luminance | 0.0573 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
British Racing Green
#05480D
ΔE00 2.39
Forest Green (survey)
#06470C
ΔE00 2.70
Darkgreen (survey)
#054907
ΔE00 2.83
Bottle Green
#044A05
ΔE00 2.99
Pine Green
#0A481E
ΔE00 3.50
Forest
#0B5509
ΔE00 3.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0B4F18 #4F0B42
analogous
#204F0B #0B4F18 #0B4F3A
triadic
#0B4F18 #180B4F #4F180B
tetradic
#0B4F18 #0B204F #4F0B42 #4F3A0B
square
#0B4F18 #0B204F #4F0B42 #4F3A0B
split-complementary
#0B4F18 #3A0B4F #4F0B20
monochromatic
#041B08 #041B08 #0B4F18 #128528 #1ABA39
Accessibility & contrast
On white
9.79
#0B4F18 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#0B4F18 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0B4F18
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0B4F18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0B4F18 | 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)
#504712
Deuteranopia (green-blind)
#49421D
Tritanopia (blue-blind)
#004D43
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #0b4f18; /* rgb */ color: rgb(11, 79, 24); /* oklch */ color: oklch(37.5% 0.108 145.6);
Tailwind
colors: {
custom: {
50: '#588157',
500: '#0b4f18',
950: '#000000',
},
}SCSS
$custom: #0b4f18; $custom-light: #588157; $custom-dark: #000000;
JSON
{
"hex": "#0b4f18",
"rgb": {
"r": 11,
"g": 79,
"b": 24
},
"hsl": {
"h": 131.471,
"s": 75.556,
"l": 17.647
},
"oklch": {
"l": 0.37459,
"c": 0.10781,
"h": 145.6
},
"luminance": 0.05729
}Semantic roles & 50–950 ramp
primary
#0B4F18
secondary
#8B2B79
accent
#36CEF2
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78