#0B4C18#0B4C18

#0B4C18 is a dark, moderate green. Relative luminance 0.053; OKLCH L 36.5% C 0.104 H 145.9°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#0B4C18
RGBrgb(11, 76, 24)
HSLhsl(132, 75%, 17%)
HSVhsv(132, 86%, 30%)
CMYKcmyk(85.5%, 0%, 68.4%, 70.2%)
CIE-LABlab(27.59, -31.87, 24.82)
CIE-LCHlch(27.59, 40.39, 142.10°)
OKLaboklab(36.52% -0.0859 0.0582)
OKLCHoklch(36.52% 0.104 145.9)
XYZxyz(2.8871, 5.3056, 1.7359)
Luminance0.0531 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B4C18 #4C0B3F
analogous
#1F4C0B #0B4C18 #0B4C39
triadic
#0B4C18 #180B4C #4C180B
tetradic
#0B4C18 #0B1F4C #4C0B3F #4C390B
square
#0B4C18 #0B1F4C #4C0B3F #4C390B
split-complementary
#0B4C18 #390B4C #4C0B1F
monochromatic
#041B08 #041B08 #0B4C18 #138129 #1AB73A

Accessibility & contrast

On white

10.19
#0B4C18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#0B4C18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B4C18
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B4C18#FFFFFF#000000##FFFFFF
##0B4C181.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4412
Deuteranopia (green-blind)
#463F1C
Tritanopia (blue-blind)
#004A41
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #0b4c18;
/* rgb */ color: rgb(11, 76, 24);
/* oklch */ color: oklch(36.5% 0.104 145.9);
Tailwind
colors: {
  custom: {
    50: '#577f57',
    500: '#0b4c18',
    950: '#000000',
  },
}
SCSS
$custom: #0b4c18;
$custom-light: #577f57;
$custom-dark: #000000;
JSON
{
  "hex": "#0b4c18",
  "rgb": {
    "r": 11,
    "g": 76,
    "b": 24
  },
  "hsl": {
    "h": 132,
    "s": 74.713,
    "l": 17.059
  },
  "oklch": {
    "l": 0.36521,
    "c": 0.10371,
    "h": 145.9
  },
  "luminance": 0.05306
}

Semantic roles & 50–950 ramp

primary
#0B4C18
secondary
#882B75
accent
#36CCF1
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0B4C18

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

Preview Lab → · Contrast checker → · Palette generator →

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