#0B4518#0B4518

#0B4518 is a dark, moderate green. Relative luminance 0.044; OKLCH L 34.3% C 0.094 H 146.7°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#0B4518
RGBrgb(11, 69, 24)
HSLhsl(133, 73%, 16%)
HSVhsv(133, 84%, 27%)
CMYKcmyk(84.1%, 0%, 65.2%, 72.9%)
CIE-LABlab(24.93, -29.11, 21.75)
CIE-LCHlch(24.93, 36.34, 143.24°)
OKLaboklab(34.32% -0.0784 0.0515)
OKLCHoklch(34.32% 0.094 146.7)
XYZxyz(2.4308, 4.3931, 1.5838)
Luminance0.0439 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B4518 #450B38
analogous
#1B450B #0B4518 #0B4535
triadic
#0B4518 #180B45 #45180B
tetradic
#0B4518 #0B1B45 #450B38 #45350B
square
#0B4518 #0B1B45 #450B38 #45350B
split-complementary
#0B4518 #350B45 #450B1B
monochromatic
#041A09 #041A09 #0B4518 #137A2A #1CAF3D

Accessibility & contrast

On white

11.18
#0B4518 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#0B4518 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B4518
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B4518#FFFFFF#000000##FFFFFF
##0B45181.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E13
Deuteranopia (green-blind)
#3F391C
Tritanopia (blue-blind)
#00433B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #0b4518;
/* rgb */ color: rgb(11, 69, 24);
/* oklch */ color: oklch(34.3% 0.094 146.7);
Tailwind
colors: {
  custom: {
    50: '#557956',
    500: '#0b4518',
    950: '#000000',
  },
}
SCSS
$custom: #0b4518;
$custom-light: #557956;
$custom-dark: #000000;
JSON
{
  "hex": "#0b4518",
  "rgb": {
    "r": 11,
    "g": 69,
    "b": 24
  },
  "hsl": {
    "h": 133.448,
    "s": 72.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.34317,
    "c": 0.09382,
    "h": 146.7
  },
  "luminance": 0.04393
}

Semantic roles & 50–950 ramp

primary
#0B4518
secondary
#812A6E
accent
#39C6EF
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030903
muted
#787B78

Preview Lab

Preview with #0B4518

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

Preview Lab → · Contrast checker → · Palette generator →

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