#0B5018#0B5018

#0B5018 is a dark, moderate green. Relative luminance 0.059; OKLCH L 37.8% C 0.109 H 145.5°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#0B5018
RGBrgb(11, 80, 24)
HSLhsl(131, 76%, 18%)
HSVhsv(131, 86%, 31%)
CMYKcmyk(86.3%, 0%, 70%, 68.6%)
CIE-LABlab(29.09, -33.40, 26.51)
CIE-LCHlch(29.09, 42.64, 141.56°)
OKLaboklab(37.77% -0.09 0.0618)
OKLCHoklch(37.77% 0.109 145.5)
XYZxyz(3.1713, 5.8740, 1.8306)
Luminance0.0587 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B5018 #500B43
analogous
#21500B #0B5018 #0B503A
triadic
#0B5018 #180B50 #50180B
tetradic
#0B5018 #0B2150 #500B43 #503A0B
square
#0B5018 #0B2150 #500B43 #503A0B
split-complementary
#0B5018 #3A0B50 #500B21
monochromatic
#041B08 #041B08 #0B5018 #128628 #1ABC38

Accessibility & contrast

On white

9.66
#0B5018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B5018
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B5018#FFFFFF#000000##FFFFFF
##0B50181.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514811
Deuteranopia (green-blind)
#4A431D
Tritanopia (blue-blind)
#004E44
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #0b5018;
/* rgb */ color: rgb(11, 80, 24);
/* oklch */ color: oklch(37.8% 0.109 145.5);
Tailwind
colors: {
  custom: {
    50: '#598257',
    500: '#0b5018',
    950: '#000000',
  },
}
SCSS
$custom: #0b5018;
$custom-light: #598257;
$custom-dark: #000000;
JSON
{
  "hex": "#0b5018",
  "rgb": {
    "r": 11,
    "g": 80,
    "b": 24
  },
  "hsl": {
    "h": 131.304,
    "s": 75.824,
    "l": 17.843
  },
  "oklch": {
    "l": 0.3777,
    "c": 0.10916,
    "h": 145.5
  },
  "luminance": 0.05874
}

Semantic roles & 50–950 ramp

primary
#0B5018
secondary
#8C2B7A
accent
#35CFF2
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0B5018

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

Preview Lab → · Contrast checker → · Palette generator →

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