#0B4C12#0B4C12

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

Color values

HEX#0B4C12
RGBrgb(11, 76, 18)
HSLhsl(126, 75%, 17%)
HSVhsv(126, 86%, 30%)
CMYKcmyk(85.5%, 0%, 76.3%, 70.2%)
CIE-LABlab(27.53, -32.62, 27.72)
CIE-LCHlch(27.53, 42.81, 139.64°)
OKLaboklab(36.45% -0.0882 0.0636)
OKLCHoklch(36.45% 0.109 144.2)
XYZxyz(2.8314, 5.2834, 1.4427)
Luminance0.0528 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B4C12 #4C0B45
analogous
#244C0B #0B4C12 #0B4C33
triadic
#0B4C12 #120B4C #4C120B
tetradic
#0B4C12 #0B244C #4C0B45 #4C330B
square
#0B4C12 #0B244C #4C0B45 #4C330B
split-complementary
#0B4C12 #330B4C #4C0B24
monochromatic
#041B06 #041B06 #0B4C12 #13811F #1AB72B

Accessibility & contrast

On white

10.21
#0B4C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B4C12
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B4C12#FFFFFF#000000##FFFFFF
##0B4C121.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4409
Deuteranopia (green-blind)
#463F18
Tritanopia (blue-blind)
#004A40
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #0b4c12;
/* rgb */ color: rgb(11, 76, 18);
/* oklch */ color: oklch(36.5% 0.109 144.2);
Tailwind
colors: {
  custom: {
    50: '#587f53',
    500: '#0b4c12',
    950: '#000000',
  },
}
SCSS
$custom: #0b4c12;
$custom-light: #587f53;
$custom-dark: #000000;
JSON
{
  "hex": "#0b4c12",
  "rgb": {
    "r": 11,
    "g": 76,
    "b": 18
  },
  "hsl": {
    "h": 126.462,
    "s": 74.713,
    "l": 17.059
  },
  "oklch": {
    "l": 0.36451,
    "c": 0.10871,
    "h": 144.2
  },
  "luminance": 0.05284
}

Semantic roles & 50–950 ramp

primary
#0B4C12
secondary
#882B7E
accent
#36DDF1
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A03
muted
#797C78

Preview Lab

Preview with #0B4C12

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

Preview Lab → · Contrast checker → · Palette generator →

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