#0B4E0C#0B4E0C

#0B4E0C is a dark, moderate green. Relative luminance 0.055; OKLCH L 37.0% C 0.115 H 142.9°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#0B4E0C
RGBrgb(11, 78, 12)
HSLhsl(121, 75%, 17%)
HSVhsv(121, 86%, 31%)
CMYKcmyk(85.9%, 0%, 84.6%, 69.4%)
CIE-LABlab(28.24, -33.93, 30.99)
CIE-LCHlch(28.24, 45.95, 137.59°)
OKLaboklab(37.03% -0.092 0.0695)
OKLCHoklch(37.03% 0.115 142.9)
XYZxyz(2.9286, 5.5461, 1.2639)
Luminance0.0555 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B4E0C #4E0B4D
analogous
#2B4E0B #0B4E0C #0B4E2E
triadic
#0B4E0C #0C0B4E #4E0C0B
tetradic
#0B4E0C #0B2B4E #4E0B4D #4E2E0B
square
#0B4E0C #0B2B4E #4E0B4D #4E2E0B
split-complementary
#0B4E0C #2E0B4E #4E0B2B
monochromatic
#041B04 #041B04 #0B4E0C #138414 #1AB91D

Accessibility & contrast

On white

9.96
#0B4E0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#0B4E0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B4E0C
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B4E0C#FFFFFF#000000##FFFFFF
##0B4E0C1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504601
Deuteranopia (green-blind)
#494114
Tritanopia (blue-blind)
#004B42
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #0b4e0c;
/* rgb */ color: rgb(11, 78, 12);
/* oklch */ color: oklch(37.0% 0.115 142.9);
Tailwind
colors: {
  custom: {
    50: '#598050',
    500: '#0b4e0c',
    950: '#000000',
  },
}
SCSS
$custom: #0b4e0c;
$custom-light: #598050;
$custom-dark: #000000;
JSON
{
  "hex": "#0b4e0c",
  "rgb": {
    "r": 11,
    "g": 78,
    "b": 12
  },
  "hsl": {
    "h": 120.896,
    "s": 75.281,
    "l": 17.451
  },
  "oklch": {
    "l": 0.37026,
    "c": 0.11533,
    "h": 142.9
  },
  "luminance": 0.05546
}

Semantic roles & 50–950 ramp

primary
#0B4E0C
secondary
#8A2B89
accent
#36EFF2
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #0B4E0C

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

Preview Lab → · Contrast checker → · Palette generator →

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