#0B4817#0B4817

#0B4817 is a dark, moderate green. Relative luminance 0.048; OKLCH L 35.3% C 0.099 H 146.0°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#0B4817
RGBrgb(11, 72, 23)
HSLhsl(132, 73%, 16%)
HSVhsv(132, 85%, 28%)
CMYKcmyk(84.7%, 0%, 68.1%, 71.8%)
CIE-LABlab(26.06, -30.46, 23.60)
CIE-LCHlch(26.06, 38.53, 142.22°)
OKLaboklab(35.25% -0.0821 0.0554)
OKLCHoklch(35.25% 0.099 146)
XYZxyz(2.6098, 4.7674, 1.5931)
Luminance0.0477 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B4817 #480B3C
analogous
#1E480B #0B4817 #0B4836
triadic
#0B4817 #170B48 #48170B
tetradic
#0B4817 #0B1E48 #480B3C #48360B
square
#0B4817 #0B1E48 #480B3C #48360B
split-complementary
#0B4817 #360B48 #480B1E
monochromatic
#041B08 #041B08 #0B4817 #137D28 #1BB239

Accessibility & contrast

On white

10.75
#0B4817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#0B4817 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B4817
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B4817#FFFFFF#000000##FFFFFF
##0B48171.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494112
Deuteranopia (green-blind)
#423C1B
Tritanopia (blue-blind)
#00463E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #0b4817;
/* rgb */ color: rgb(11, 72, 23);
/* oklch */ color: oklch(35.3% 0.099 146.0);
Tailwind
colors: {
  custom: {
    50: '#567c56',
    500: '#0b4817',
    950: '#000000',
  },
}
SCSS
$custom: #0b4817;
$custom-light: #567c56;
$custom-dark: #000000;
JSON
{
  "hex": "#0b4817",
  "rgb": {
    "r": 11,
    "g": 72,
    "b": 23
  },
  "hsl": {
    "h": 131.803,
    "s": 73.494,
    "l": 16.275
  },
  "oklch": {
    "l": 0.35251,
    "c": 0.09904,
    "h": 146
  },
  "luminance": 0.04768
}

Semantic roles & 50–950 ramp

primary
#0B4817
secondary
#842A73
accent
#38CCF0
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#030903
muted
#787B78

Preview Lab

Preview with #0B4817

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

Preview Lab → · Contrast checker → · Palette generator →

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