#0B4D17#0B4D17

#0B4D17 is a dark, moderate green. Relative luminance 0.054; OKLCH L 36.8% C 0.106 H 145.5°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#0B4D17
RGBrgb(11, 77, 23)
HSLhsl(131, 75%, 17%)
HSVhsv(131, 86%, 30%)
CMYKcmyk(85.7%, 0%, 70.1%, 69.8%)
CIE-LABlab(27.95, -32.39, 25.74)
CIE-LCHlch(27.95, 41.38, 141.52°)
OKLaboklab(36.82% -0.0873 0.06)
OKLCHoklch(36.82% 0.106 145.5)
XYZxyz(2.9463, 5.4404, 1.7053)
Luminance0.0544 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B4D17 #4D0B41
analogous
#204D0B #0B4D17 #0B4D38
triadic
#0B4D17 #170B4D #4D170B
tetradic
#0B4D17 #0B204D #4D0B41 #4D380B
square
#0B4D17 #0B204D #4D0B41 #4D380B
split-complementary
#0B4D17 #380B4D #4D0B20
monochromatic
#041B08 #041B08 #0B4D17 #138327 #1AB837

Accessibility & contrast

On white

10.06
#0B4D17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#0B4D17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B4D17
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B4D17#FFFFFF#000000##FFFFFF
##0B4D171.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4511
Deuteranopia (green-blind)
#47401C
Tritanopia (blue-blind)
#004B42
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #0b4d17;
/* rgb */ color: rgb(11, 77, 23);
/* oklch */ color: oklch(36.8% 0.106 145.5);
Tailwind
colors: {
  custom: {
    50: '#588056',
    500: '#0b4d17',
    950: '#000000',
  },
}
SCSS
$custom: #0b4d17;
$custom-light: #588056;
$custom-dark: #000000;
JSON
{
  "hex": "#0b4d17",
  "rgb": {
    "r": 11,
    "g": 77,
    "b": 23
  },
  "hsl": {
    "h": 130.909,
    "s": 75,
    "l": 17.255
  },
  "oklch": {
    "l": 0.36822,
    "c": 0.10596,
    "h": 145.5
  },
  "luminance": 0.05441
}

Semantic roles & 50–950 ramp

primary
#0B4D17
secondary
#892B78
accent
#36D0F2
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0B4D17

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#0B4D17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva