#0B4818#0B4818

#0B4818 is a dark, moderate green. Relative luminance 0.048; OKLCH L 35.3% C 0.098 H 146.3°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#0B4818
RGBrgb(11, 72, 24)
HSLhsl(133, 73%, 16%)
HSVhsv(133, 85%, 28%)
CMYKcmyk(84.7%, 0%, 66.7%, 71.8%)
CIE-LABlab(26.07, -30.31, 23.08)
CIE-LCHlch(26.07, 38.10, 142.71°)
OKLaboklab(35.27% -0.0816 0.0544)
OKLCHoklch(35.27% 0.098 146.3)
XYZxyz(2.6201, 4.7715, 1.6469)
Luminance0.0477 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B4818 #480B3B
analogous
#1D480B #0B4818 #0B4837
triadic
#0B4818 #180B48 #48180B
tetradic
#0B4818 #0B1D48 #480B3B #48370B
square
#0B4818 #0B1D48 #480B3B #48370B
split-complementary
#0B4818 #370B48 #480B1D
monochromatic
#041B09 #041B09 #0B4818 #137D2A #1BB23B

Accessibility & contrast

On white

10.74
#0B4818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B4818
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B4818#FFFFFF#000000##FFFFFF
##0B48181.0010.741.9510.74
#FFFFFF10.741.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494113
Deuteranopia (green-blind)
#423C1C
Tritanopia (blue-blind)
#00463E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #0b4818;
/* rgb */ color: rgb(11, 72, 24);
/* oklch */ color: oklch(35.3% 0.098 146.3);
Tailwind
colors: {
  custom: {
    50: '#567c57',
    500: '#0b4818',
    950: '#000000',
  },
}
SCSS
$custom: #0b4818;
$custom-light: #567c57;
$custom-dark: #000000;
JSON
{
  "hex": "#0b4818",
  "rgb": {
    "r": 11,
    "g": 72,
    "b": 24
  },
  "hsl": {
    "h": 132.787,
    "s": 73.494,
    "l": 16.275
  },
  "oklch": {
    "l": 0.35265,
    "c": 0.09812,
    "h": 146.3
  },
  "luminance": 0.04772
}

Semantic roles & 50–950 ramp

primary
#0B4818
secondary
#842A71
accent
#38C9F0
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#030903
muted
#787B78

Preview Lab

Preview with #0B4818

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

Preview Lab → · Contrast checker → · Palette generator →

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