#0B4815#0B4815

#0B4815 is a dark, moderate green. Relative luminance 0.048; OKLCH L 35.2% C 0.101 H 145.3°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#0B4815
RGBrgb(11, 72, 21)
HSLhsl(130, 73%, 16%)
HSVhsv(130, 85%, 28%)
CMYKcmyk(84.7%, 0%, 70.8%, 71.8%)
CIE-LABlab(26.04, -30.73, 24.63)
CIE-LCHlch(26.04, 39.38, 141.29°)
OKLaboklab(35.23% -0.0829 0.0574)
OKLCHoklch(35.23% 0.101 145.3)
XYZxyz(2.5906, 4.7597, 1.4915)
Luminance0.0476 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B4815 #480B3E
analogous
#20480B #0B4815 #0B4834
triadic
#0B4815 #150B48 #48150B
tetradic
#0B4815 #0B2048 #480B3E #48340B
square
#0B4815 #0B2048 #480B3E #48340B
split-complementary
#0B4815 #340B48 #480B20
monochromatic
#041B08 #041B08 #0B4815 #137D24 #1BB234

Accessibility & contrast

On white

10.76
#0B4815 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#0B4815 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B4815
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B4815#FFFFFF#000000##FFFFFF
##0B48151.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49410F
Deuteranopia (green-blind)
#423C19
Tritanopia (blue-blind)
#00463D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #0b4815;
/* rgb */ color: rgb(11, 72, 21);
/* oklch */ color: oklch(35.2% 0.101 145.3);
Tailwind
colors: {
  custom: {
    50: '#567c55',
    500: '#0b4815',
    950: '#000000',
  },
}
SCSS
$custom: #0b4815;
$custom-light: #567c55;
$custom-dark: #000000;
JSON
{
  "hex": "#0b4815",
  "rgb": {
    "r": 11,
    "g": 72,
    "b": 21
  },
  "hsl": {
    "h": 129.836,
    "s": 73.494,
    "l": 16.275
  },
  "oklch": {
    "l": 0.35225,
    "c": 0.10084,
    "h": 145.3
  },
  "luminance": 0.0476
}

Semantic roles & 50–950 ramp

primary
#0B4815
secondary
#842A76
accent
#38D2F0
background
#F5F7F5
surface
#E9EEE8
border
#C5C9C4
text
#030903
muted
#787B78

Preview Lab

Preview with #0B4815

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

Preview Lab → · Contrast checker → · Palette generator →

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