#0B4C0C#0B4C0C

#0B4C0C is a dark, moderate green. Relative luminance 0.053; OKLCH L 36.4% C 0.113 H 143.0°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#0B4C0C
RGBrgb(11, 76, 12)
HSLhsl(121, 75%, 17%)
HSVhsv(121, 86%, 30%)
CMYKcmyk(85.5%, 0%, 84.2%, 70.2%)
CIE-LABlab(27.48, -33.20, 30.24)
CIE-LCHlch(27.48, 44.91, 137.67°)
OKLaboklab(36.4% -0.0901 0.068)
OKLCHoklch(36.4% 0.113 143)
XYZxyz(2.7886, 5.2662, 1.2173)
Luminance0.0527 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B4C0C #4C0B4B
analogous
#2B4C0B #0B4C0C #0B4C2D
triadic
#0B4C0C #0C0B4C #4C0C0B
tetradic
#0B4C0C #0B2B4C #4C0B4B #4C2D0B
square
#0B4C0C #0B2B4C #4C0B4B #4C2D0B
split-complementary
#0B4C0C #2D0B4C #4C0B2B
monochromatic
#041B04 #041B04 #0B4C0C #138114 #1AB71D

Accessibility & contrast

On white

10.23
#0B4C0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#0B4C0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B4C0C
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B4C0C#FFFFFF#000000##FFFFFF
##0B4C0C1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4401
Deuteranopia (green-blind)
#473F13
Tritanopia (blue-blind)
#004A40
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #0b4c0c;
/* rgb */ color: rgb(11, 76, 12);
/* oklch */ color: oklch(36.4% 0.113 143.0);
Tailwind
colors: {
  custom: {
    50: '#587f50',
    500: '#0b4c0c',
    950: '#000000',
  },
}
SCSS
$custom: #0b4c0c;
$custom-light: #587f50;
$custom-dark: #000000;
JSON
{
  "hex": "#0b4c0c",
  "rgb": {
    "r": 11,
    "g": 76,
    "b": 12
  },
  "hsl": {
    "h": 120.923,
    "s": 74.713,
    "l": 17.059
  },
  "oklch": {
    "l": 0.36397,
    "c": 0.11283,
    "h": 143
  },
  "luminance": 0.05267
}

Semantic roles & 50–950 ramp

primary
#0B4C0C
secondary
#882B87
accent
#36EEF1
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #0B4C0C

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

Preview Lab → · Contrast checker → · Palette generator →

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