#0B4A17#0B4A17

#0B4A17 is a dark, moderate green. Relative luminance 0.050; OKLCH L 35.9% C 0.102 H 145.8°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#0B4A17
RGBrgb(11, 74, 23)
HSLhsl(131, 74%, 17%)
HSVhsv(131, 85%, 29%)
CMYKcmyk(85.1%, 0%, 68.9%, 71%)
CIE-LABlab(26.82, -31.24, 24.47)
CIE-LCHlch(26.82, 39.68, 141.93°)
OKLaboklab(35.88% -0.0842 0.0573)
OKLCHoklch(35.88% 0.102 145.8)
XYZxyz(2.7412, 5.0302, 1.6369)
Luminance0.0503 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B4A17 #4A0B3E
analogous
#1F4A0B #0B4A17 #0B4A37
triadic
#0B4A17 #170B4A #4A170B
tetradic
#0B4A17 #0B1F4A #4A0B3E #4A370B
square
#0B4A17 #0B1F4A #4A0B3E #4A370B
split-complementary
#0B4A17 #370B4A #4A0B1F
monochromatic
#041B08 #041B08 #0B4A17 #137F28 #1BB538

Accessibility & contrast

On white

10.47
#0B4A17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B4A17
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B4A17#FFFFFF#000000##FFFFFF
##0B4A171.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4211
Deuteranopia (green-blind)
#443D1B
Tritanopia (blue-blind)
#00483F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #0b4a17;
/* rgb */ color: rgb(11, 74, 23);
/* oklch */ color: oklch(35.9% 0.102 145.8);
Tailwind
colors: {
  custom: {
    50: '#577d56',
    500: '#0b4a17',
    950: '#000000',
  },
}
SCSS
$custom: #0b4a17;
$custom-light: #577d56;
$custom-dark: #000000;
JSON
{
  "hex": "#0b4a17",
  "rgb": {
    "r": 11,
    "g": 74,
    "b": 23
  },
  "hsl": {
    "h": 131.429,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.35881,
    "c": 0.10184,
    "h": 145.8
  },
  "luminance": 0.05031
}

Semantic roles & 50–950 ramp

primary
#0B4A17
secondary
#862B75
accent
#37CDF1
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0B4A17

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

Preview Lab → · Contrast checker → · Palette generator →

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