#0B5117#0B5117

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

Color values

HEX#0B5117
RGBrgb(11, 81, 23)
HSLhsl(130, 76%, 18%)
HSVhsv(130, 86%, 32%)
CMYKcmyk(86.4%, 0%, 71.6%, 68.2%)
CIE-LABlab(29.46, -33.90, 27.41)
CIE-LCHlch(29.46, 43.59, 141.04°)
OKLaboklab(38.07% -0.0914 0.0636)
OKLCHoklch(38.07% 0.111 145.2)
XYZxyz(3.2349, 6.0175, 1.8014)
Luminance0.0602 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B5117 #510B45
analogous
#22510B #0B5117 #0B513A
triadic
#0B5117 #170B51 #51170B
tetradic
#0B5117 #0B2251 #510B45 #513A0B
square
#0B5117 #0B2251 #510B45 #513A0B
split-complementary
#0B5117 #3A0B51 #510B22
monochromatic
#041B08 #041B08 #0B5117 #128726 #1ABD36

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0B5117#FFFFFF#000000##FFFFFF
##0B51171.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)
#524910
Deuteranopia (green-blind)
#4B431C
Tritanopia (blue-blind)
#004F45
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #0b5117;
/* rgb */ color: rgb(11, 81, 23);
/* oklch */ color: oklch(38.1% 0.111 145.2);
Tailwind
colors: {
  custom: {
    50: '#598357',
    500: '#0b5117',
    950: '#000000',
  },
}
SCSS
$custom: #0b5117;
$custom-light: #598357;
$custom-dark: #000000;
JSON
{
  "hex": "#0b5117",
  "rgb": {
    "r": 11,
    "g": 81,
    "b": 23
  },
  "hsl": {
    "h": 130.286,
    "s": 76.087,
    "l": 18.039
  },
  "oklch": {
    "l": 0.38069,
    "c": 0.11134,
    "h": 145.2
  },
  "luminance": 0.06018
}

Semantic roles & 50–950 ramp

primary
#0B5117
secondary
#8D2B7C
accent
#35D2F3
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0B5117

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

Preview Lab → · Contrast checker → · Palette generator →

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