#0B4A1F#0B4A1F

#0B4A1F is a dark, moderate green. Relative luminance 0.051; OKLCH L 36.0% C 0.094 H 148.9°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#0B4A1F
RGBrgb(11, 74, 31)
HSLhsl(139, 74%, 17%)
HSVhsv(139, 85%, 29%)
CMYKcmyk(85.1%, 0%, 58.1%, 71%)
CIE-LABlab(26.93, -29.98, 20.16)
CIE-LCHlch(26.93, 36.13, 146.08°)
OKLaboklab(36% -0.0806 0.0486)
OKLCHoklch(36% 0.094 148.9)
XYZxyz(2.8339, 5.0673, 2.1248)
Luminance0.0507 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B4A1F #4A0B36
analogous
#164A0B #0B4A1F #0B4A3F
triadic
#0B4A1F #1F0B4A #4A1F0B
tetradic
#0B4A1F #0B164A #4A0B36 #4A3F0B
square
#0B4A1F #0B164A #4A0B36 #4A3F0B
split-complementary
#0B4A1F #3F0B4A #4A0B16
monochromatic
#041B0B #041B0B #0B4A1F #137F35 #1BB54C

Accessibility & contrast

On white

10.43
#0B4A1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#0B4A1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B4A1F
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B4A1F#FFFFFF#000000##FFFFFF
##0B4A1F1.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B431B
Deuteranopia (green-blind)
#443E22
Tritanopia (blue-blind)
#004840
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #0b4a1f;
/* rgb */ color: rgb(11, 74, 31);
/* oklch */ color: oklch(36.0% 0.094 148.9);
Tailwind
colors: {
  custom: {
    50: '#567d5c',
    500: '#0b4a1f',
    950: '#000000',
  },
}
SCSS
$custom: #0b4a1f;
$custom-light: #567d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#0b4a1f",
  "rgb": {
    "r": 11,
    "g": 74,
    "b": 31
  },
  "hsl": {
    "h": 139.048,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.36002,
    "c": 0.0941,
    "h": 148.9
  },
  "luminance": 0.05068
}

Semantic roles & 50–950 ramp

primary
#0B4A1F
secondary
#862B69
accent
#37B6F1
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#030A04
muted
#787C79

Preview Lab

Preview with #0B4A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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