#0B5118#0B5118

#0B5118 is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.1% C 0.111 H 145.5°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#0B5118
RGBrgb(11, 81, 24)
HSLhsl(131, 76%, 18%)
HSVhsv(131, 86%, 32%)
CMYKcmyk(86.4%, 0%, 70.4%, 68.2%)
CIE-LABlab(29.47, -33.77, 26.93)
CIE-LCHlch(29.47, 43.19, 141.43°)
OKLaboklab(38.08% -0.091 0.0627)
OKLCHoklch(38.08% 0.111 145.5)
XYZxyz(3.2451, 6.0216, 1.8552)
Luminance0.0602 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B5118 #510B44
analogous
#21510B #0B5118 #0B513B
triadic
#0B5118 #180B51 #51180B
tetradic
#0B5118 #0B2151 #510B44 #513B0B
square
#0B5118 #0B2151 #510B44 #513B0B
split-complementary
#0B5118 #3B0B51 #510B21
monochromatic
#041B08 #041B08 #0B5118 #128728 #1ABD38

Accessibility & contrast

On white

9.53
#0B5118 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#0B5118 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B5118
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B5118#FFFFFF#000000##FFFFFF
##0B51181.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524911
Deuteranopia (green-blind)
#4B431D
Tritanopia (blue-blind)
#004F45
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #0b5118;
/* rgb */ color: rgb(11, 81, 24);
/* oklch */ color: oklch(38.1% 0.111 145.5);
Tailwind
colors: {
  custom: {
    50: '#598358',
    500: '#0b5118',
    950: '#000000',
  },
}
SCSS
$custom: #0b5118;
$custom-light: #598358;
$custom-dark: #000000;
JSON
{
  "hex": "#0b5118",
  "rgb": {
    "r": 11,
    "g": 81,
    "b": 24
  },
  "hsl": {
    "h": 131.143,
    "s": 76.087,
    "l": 18.039
  },
  "oklch": {
    "l": 0.38081,
    "c": 0.11051,
    "h": 145.5
  },
  "luminance": 0.06022
}

Semantic roles & 50–950 ramp

primary
#0B5118
secondary
#8D2B7B
accent
#35CFF3
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0B5118

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

Preview Lab → · Contrast checker → · Palette generator →

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