#0B4B0F#0B4B0F

#0B4B0F is a dark, moderate green. Relative luminance 0.051; OKLCH L 36.1% C 0.110 H 143.6°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#0B4B0F
RGBrgb(11, 75, 15)
HSLhsl(124, 74%, 17%)
HSVhsv(124, 85%, 29%)
CMYKcmyk(85.3%, 0%, 80%, 70.6%)
CIE-LABlab(27.12, -32.56, 28.65)
CIE-LCHlch(27.12, 43.37, 138.66°)
OKLaboklab(36.11% -0.0882 0.0651)
OKLCHoklch(36.11% 0.11 143.6)
XYZxyz(2.7401, 5.1375, 1.2991)
Luminance0.0514 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B4B0F #4B0B47
analogous
#274B0B #0B4B0F #0B4B2F
triadic
#0B4B0F #0F0B4B #4B0F0B
tetradic
#0B4B0F #0B274B #4B0B47 #4B2F0B
square
#0B4B0F #0B274B #4B0B47 #4B2F0B
split-complementary
#0B4B0F #2F0B4B #4B0B27
monochromatic
#041B05 #041B05 #0B4B0F #13801A #1BB624

Accessibility & contrast

On white

10.36
#0B4B0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#0B4B0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B4B0F
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B4B0F#FFFFFF#000000##FFFFFF
##0B4B0F1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4305
Deuteranopia (green-blind)
#463E15
Tritanopia (blue-blind)
#00493F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #0b4b0f;
/* rgb */ color: rgb(11, 75, 15);
/* oklch */ color: oklch(36.1% 0.110 143.6);
Tailwind
colors: {
  custom: {
    50: '#587e52',
    500: '#0b4b0f',
    950: '#000000',
  },
}
SCSS
$custom: #0b4b0f;
$custom-light: #587e52;
$custom-dark: #000000;
JSON
{
  "hex": "#0b4b0f",
  "rgb": {
    "r": 11,
    "g": 75,
    "b": 15
  },
  "hsl": {
    "h": 123.75,
    "s": 74.419,
    "l": 16.863
  },
  "oklch": {
    "l": 0.36107,
    "c": 0.10959,
    "h": 143.6
  },
  "luminance": 0.05138
}

Semantic roles & 50–950 ramp

primary
#0B4B0F
secondary
#872B81
accent
#37E5F1
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #0B4B0F

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

Preview Lab → · Contrast checker → · Palette generator →

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