#0B4B1F#0B4B1F

#0B4B1F is a dark, moderate green. Relative luminance 0.052; OKLCH L 36.3% C 0.096 H 148.7°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#0B4B1F
RGBrgb(11, 75, 31)
HSLhsl(139, 74%, 17%)
HSVhsv(139, 85%, 29%)
CMYKcmyk(85.3%, 0%, 58.7%, 70.6%)
CIE-LABlab(27.30, -30.39, 20.63)
CIE-LCHlch(27.30, 36.73, 145.83°)
OKLaboklab(36.31% -0.0817 0.0496)
OKLCHoklch(36.31% 0.096 148.7)
XYZxyz(2.9012, 5.2019, 2.1472)
Luminance0.0520 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B4B1F #4B0B37
analogous
#174B0B #0B4B1F #0B4B3F
triadic
#0B4B1F #1F0B4B #4B1F0B
tetradic
#0B4B1F #0B174B #4B0B37 #4B3F0B
square
#0B4B1F #0B174B #4B0B37 #4B3F0B
split-complementary
#0B4B1F #3F0B4B #4B0B17
monochromatic
#041B0B #041B0B #0B4B1F #138035 #1BB64B

Accessibility & contrast

On white

10.29
#0B4B1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#0B4B1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B4B1F
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B4B1F#FFFFFF#000000##FFFFFF
##0B4B1F1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C441B
Deuteranopia (green-blind)
#453E22
Tritanopia (blue-blind)
#004941
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #0b4b1f;
/* rgb */ color: rgb(11, 75, 31);
/* oklch */ color: oklch(36.3% 0.096 148.7);
Tailwind
colors: {
  custom: {
    50: '#577e5c',
    500: '#0b4b1f',
    950: '#000000',
  },
}
SCSS
$custom: #0b4b1f;
$custom-light: #577e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#0b4b1f",
  "rgb": {
    "r": 11,
    "g": 75,
    "b": 31
  },
  "hsl": {
    "h": 138.75,
    "s": 74.419,
    "l": 16.863
  },
  "oklch": {
    "l": 0.36314,
    "c": 0.09556,
    "h": 148.7
  },
  "luminance": 0.05202
}

Semantic roles & 50–950 ramp

primary
#0B4B1F
secondary
#872B6A
accent
#37B7F1
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0B4B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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