#0B4918#0B4918

#0B4918 is a dark, moderate green. Relative luminance 0.049; OKLCH L 35.6% C 0.100 H 146.2°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#0B4918
RGBrgb(11, 73, 24)
HSLhsl(133, 74%, 16%)
HSVhsv(133, 85%, 29%)
CMYKcmyk(84.9%, 0%, 67.1%, 71.4%)
CIE-LABlab(26.45, -30.71, 23.52)
CIE-LCHlch(26.45, 38.68, 142.55°)
OKLaboklab(35.58% -0.0827 0.0554)
OKLCHoklch(35.58% 0.1 146.2)
XYZxyz(2.6852, 4.9019, 1.6686)
Luminance0.0490 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B4918 #490B3C
analogous
#1D490B #0B4918 #0B4937
triadic
#0B4918 #180B49 #49180B
tetradic
#0B4918 #0B1D49 #490B3C #49370B
square
#0B4918 #0B1D49 #490B3C #49370B
split-complementary
#0B4918 #370B49 #490B1D
monochromatic
#041B09 #041B09 #0B4918 #137E29 #1BB33B

Accessibility & contrast

On white

10.60
#0B4918 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#0B4918 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B4918
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B4918#FFFFFF#000000##FFFFFF
##0B49181.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4213
Deuteranopia (green-blind)
#433D1C
Tritanopia (blue-blind)
#00473E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #0b4918;
/* rgb */ color: rgb(11, 73, 24);
/* oklch */ color: oklch(35.6% 0.100 146.2);
Tailwind
colors: {
  custom: {
    50: '#567c57',
    500: '#0b4918',
    950: '#000000',
  },
}
SCSS
$custom: #0b4918;
$custom-light: #567c57;
$custom-dark: #000000;
JSON
{
  "hex": "#0b4918",
  "rgb": {
    "r": 11,
    "g": 73,
    "b": 24
  },
  "hsl": {
    "h": 132.581,
    "s": 73.81,
    "l": 16.471
  },
  "oklch": {
    "l": 0.3558,
    "c": 0.09953,
    "h": 146.2
  },
  "luminance": 0.04902
}

Semantic roles & 50–950 ramp

primary
#0B4918
secondary
#852A72
accent
#37CAF0
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#030903
muted
#787B78

Preview Lab

Preview with #0B4918

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

Preview Lab → · Contrast checker → · Palette generator →

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