#0B4017#0B4017

#0B4017 is a dark, moderate green. Relative luminance 0.038; OKLCH L 32.7% C 0.087 H 146.9°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#0B4017
RGBrgb(11, 64, 23)
HSLhsl(134, 71%, 15%)
HSVhsv(134, 83%, 25%)
CMYKcmyk(82.8%, 0%, 64.1%, 74.9%)
CIE-LABlab(23.00, -27.22, 20.03)
CIE-LCHlch(23.00, 33.79, 143.65°)
OKLaboklab(32.71% -0.0733 0.0477)
OKLCHoklch(32.71% 0.087 146.9)
XYZxyz(2.1259, 3.7996, 1.4318)
Luminance0.0380 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B4017 #400B34
analogous
#1A400B #0B4017 #0B4032
triadic
#0B4017 #170B40 #40170B
tetradic
#0B4017 #0B1A40 #400B34 #40320B
square
#0B4017 #0B1A40 #400B34 #40320B
split-complementary
#0B4017 #320B40 #400B1A
monochromatic
#041A09 #041A09 #0B4017 #14742A #1DA83D

Accessibility & contrast

On white

11.93
#0B4017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#0B4017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B4017
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B4017#FFFFFF#000000##FFFFFF
##0B40171.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413913
Deuteranopia (green-blind)
#3B351A
Tritanopia (blue-blind)
#003E37
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0b4017;
/* rgb */ color: rgb(11, 64, 23);
/* oklch */ color: oklch(32.7% 0.087 146.9);
Tailwind
colors: {
  custom: {
    50: '#547555',
    500: '#0b4017',
    950: '#000000',
  },
}
SCSS
$custom: #0b4017;
$custom-light: #547555;
$custom-dark: #000000;
JSON
{
  "hex": "#0b4017",
  "rgb": {
    "r": 11,
    "g": 64,
    "b": 23
  },
  "hsl": {
    "h": 133.585,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.32711,
    "c": 0.08745,
    "h": 146.9
  },
  "luminance": 0.038
}

Semantic roles & 50–950 ramp

primary
#0B4017
secondary
#7D2A6A
accent
#3AC5ED
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030803
muted
#787B78

Preview Lab

Preview with #0B4017

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

Preview Lab → · Contrast checker → · Palette generator →

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