#0B5015#0B5015

#0B5015 is a dark, moderate green. Relative luminance 0.059; OKLCH L 37.7% C 0.112 H 144.7°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#0B5015
RGBrgb(11, 80, 21)
HSLhsl(129, 76%, 18%)
HSVhsv(129, 86%, 31%)
CMYKcmyk(86.3%, 0%, 73.7%, 68.6%)
CIE-LABlab(29.06, -33.77, 27.95)
CIE-LCHlch(29.06, 43.83, 140.39°)
OKLaboklab(37.74% -0.0911 0.0644)
OKLCHoklch(37.74% 0.112 144.7)
XYZxyz(3.1418, 5.8622, 1.6753)
Luminance0.0586 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B5015 #500B46
analogous
#23500B #0B5015 #0B5037
triadic
#0B5015 #150B50 #50150B
tetradic
#0B5015 #0B2350 #500B46 #50370B
square
#0B5015 #0B2350 #500B46 #50370B
split-complementary
#0B5015 #370B50 #500B23
monochromatic
#041B07 #041B07 #0B5015 #128623 #1ABC31

Accessibility & contrast

On white

9.67
#0B5015 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#0B5015 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B5015
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B5015#FFFFFF#000000##FFFFFF
##0B50151.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52480D
Deuteranopia (green-blind)
#4A421B
Tritanopia (blue-blind)
#004E44
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #0b5015;
/* rgb */ color: rgb(11, 80, 21);
/* oklch */ color: oklch(37.7% 0.112 144.7);
Tailwind
colors: {
  custom: {
    50: '#598256',
    500: '#0b5015',
    950: '#000000',
  },
}
SCSS
$custom: #0b5015;
$custom-light: #598256;
$custom-dark: #000000;
JSON
{
  "hex": "#0b5015",
  "rgb": {
    "r": 11,
    "g": 80,
    "b": 21
  },
  "hsl": {
    "h": 128.696,
    "s": 75.824,
    "l": 17.843
  },
  "oklch": {
    "l": 0.37735,
    "c": 0.11163,
    "h": 144.7
  },
  "luminance": 0.05863
}

Semantic roles & 50–950 ramp

primary
#0B5015
secondary
#8C2B7E
accent
#35D7F2
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0B5015

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

Preview Lab → · Contrast checker → · Palette generator →

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