#0B4107#0B4107

#0B4107 is a dark, moderate green. Relative luminance 0.039; OKLCH L 32.9% C 0.102 H 142.0°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#0B4107
RGBrgb(11, 65, 7)
HSLhsl(116, 81%, 14%)
HSVhsv(116, 89%, 25%)
CMYKcmyk(83.1%, 0%, 89.2%, 74.5%)
CIE-LABlab(23.23, -29.53, 28.05)
CIE-LCHlch(23.23, 40.73, 136.47°)
OKLaboklab(32.85% -0.0804 0.0627)
OKLCHoklch(32.85% 0.102 142)
XYZxyz(2.0665, 3.8668, 0.8384)
Luminance0.0387 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B4107 #3D0741
analogous
#284107 #0B4107 #074120
triadic
#0B4107 #070B41 #41070B
tetradic
#0B4107 #072841 #3D0741 #412007
square
#0B4107 #072841 #3D0741 #412007
split-complementary
#0B4107 #200741 #410728
monochromatic
#051C03 #051C03 #0B4107 #14780D #1EB013

Accessibility & contrast

On white

11.84
#0B4107 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#0B4107 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B4107
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B4107#FFFFFF#000000##FFFFFF
##0B41071.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A00
Deuteranopia (green-blind)
#3D360E
Tritanopia (blue-blind)
#003F36
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0b4107;
/* rgb */ color: rgb(11, 65, 7);
/* oklch */ color: oklch(32.9% 0.102 142.0);
Tailwind
colors: {
  custom: {
    50: '#55764c',
    500: '#0b4107',
    950: '#000000',
  },
}
SCSS
$custom: #0b4107;
$custom-light: #55764c;
$custom-dark: #000000;
JSON
{
  "hex": "#0b4107",
  "rgb": {
    "r": 11,
    "g": 65,
    "b": 7
  },
  "hsl": {
    "h": 115.862,
    "s": 80.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.3285,
    "c": 0.10195,
    "h": 142
  },
  "luminance": 0.03867
}

Semantic roles & 50–950 ramp

primary
#0B4107
secondary
#7A2480
accent
#31F7E9
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030801
muted
#787B77

Preview Lab

Preview with #0B4107

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

Preview Lab → · Contrast checker → · Palette generator →

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