#0B4F16#0B4F16

#0B4F16 is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.4% C 0.110 H 145.1°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#0B4F16
RGBrgb(11, 79, 22)
HSLhsl(130, 76%, 18%)
HSVhsv(130, 86%, 31%)
CMYKcmyk(86.1%, 0%, 72.2%, 69%)
CIE-LABlab(28.70, -33.27, 27.07)
CIE-LCHlch(28.70, 42.89, 140.87°)
OKLaboklab(37.44% -0.0898 0.0627)
OKLCHoklch(37.44% 0.11 145.1)
XYZxyz(3.0786, 5.7207, 1.7008)
Luminance0.0572 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B4F16 #4F0B44
analogous
#224F0B #0B4F16 #0B4F38
triadic
#0B4F16 #160B4F #4F160B
tetradic
#0B4F16 #0B224F #4F0B44 #4F380B
square
#0B4F16 #0B224F #4F0B44 #4F380B
split-complementary
#0B4F16 #380B4F #4F0B22
monochromatic
#041B07 #041B07 #0B4F16 #128525 #1ABA34

Accessibility & contrast

On white

9.79
#0B4F16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#0B4F16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B4F16
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B4F16#FFFFFF#000000##FFFFFF
##0B4F161.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50470F
Deuteranopia (green-blind)
#49421B
Tritanopia (blue-blind)
#004D43
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #0b4f16;
/* rgb */ color: rgb(11, 79, 22);
/* oklch */ color: oklch(37.4% 0.110 145.1);
Tailwind
colors: {
  custom: {
    50: '#588156',
    500: '#0b4f16',
    950: '#000000',
  },
}
SCSS
$custom: #0b4f16;
$custom-light: #588156;
$custom-dark: #000000;
JSON
{
  "hex": "#0b4f16",
  "rgb": {
    "r": 11,
    "g": 79,
    "b": 22
  },
  "hsl": {
    "h": 129.706,
    "s": 75.556,
    "l": 17.647
  },
  "oklch": {
    "l": 0.37435,
    "c": 0.1095,
    "h": 145.1
  },
  "luminance": 0.05721
}

Semantic roles & 50–950 ramp

primary
#0B4F16
secondary
#8B2B7B
accent
#36D4F2
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0B4F16

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

Preview Lab → · Contrast checker → · Palette generator →

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