#0B4F11#0B4F11

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

Color values

HEX#0B4F11
RGBrgb(11, 79, 17)
HSLhsl(125, 76%, 18%)
HSVhsv(125, 86%, 31%)
CMYKcmyk(86.1%, 0%, 78.5%, 69%)
CIE-LABlab(28.65, -33.83, 29.35)
CIE-LCHlch(28.65, 44.79, 139.06°)
OKLaboklab(37.38% -0.0915 0.0668)
OKLCHoklch(37.38% 0.113 143.9)
XYZxyz(3.0350, 5.7032, 1.4711)
Luminance0.0570 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B4F11 #4F0B49
analogous
#274F0B #0B4F11 #0B4F33
triadic
#0B4F11 #110B4F #4F110B
tetradic
#0B4F11 #0B274F #4F0B49 #4F330B
square
#0B4F11 #0B274F #4F0B49 #4F330B
split-complementary
#0B4F11 #330B4F #4F0B27
monochromatic
#041B06 #041B06 #0B4F11 #12851D #1ABA28

Accessibility & contrast

On white

9.81
#0B4F11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B4F11
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B4F11#FFFFFF#000000##FFFFFF
##0B4F111.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514707
Deuteranopia (green-blind)
#494217
Tritanopia (blue-blind)
#004D43
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #0b4f11;
/* rgb */ color: rgb(11, 79, 17);
/* oklch */ color: oklch(37.4% 0.113 143.9);
Tailwind
colors: {
  custom: {
    50: '#598153',
    500: '#0b4f11',
    950: '#000000',
  },
}
SCSS
$custom: #0b4f11;
$custom-light: #598153;
$custom-dark: #000000;
JSON
{
  "hex": "#0b4f11",
  "rgb": {
    "r": 11,
    "g": 79,
    "b": 17
  },
  "hsl": {
    "h": 125.294,
    "s": 75.556,
    "l": 17.647
  },
  "oklch": {
    "l": 0.37382,
    "c": 0.11334,
    "h": 143.9
  },
  "luminance": 0.05704
}

Semantic roles & 50–950 ramp

primary
#0B4F11
secondary
#8B2B82
accent
#36E2F2
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A03
muted
#797C78

Preview Lab

Preview with #0B4F11

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

Preview Lab → · Contrast checker → · Palette generator →

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