#0B4D12#0B4D12

#0B4D12 is a dark, moderate green. Relative luminance 0.054; OKLCH L 36.8% C 0.110 H 144.2°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#0B4D12
RGBrgb(11, 77, 18)
HSLhsl(126, 75%, 17%)
HSVhsv(126, 86%, 30%)
CMYKcmyk(85.7%, 0%, 76.6%, 69.8%)
CIE-LABlab(27.91, -32.99, 28.12)
CIE-LCHlch(27.91, 43.35, 139.56°)
OKLaboklab(36.77% -0.0892 0.0644)
OKLCHoklch(36.77% 0.11 144.2)
XYZxyz(2.9009, 5.4222, 1.4659)
Luminance0.0542 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B4D12 #4D0B46
analogous
#254D0B #0B4D12 #0B4D33
triadic
#0B4D12 #120B4D #4D120B
tetradic
#0B4D12 #0B254D #4D0B46 #4D330B
square
#0B4D12 #0B254D #4D0B46 #4D330B
split-complementary
#0B4D12 #330B4D #4D0B25
monochromatic
#041B06 #041B06 #0B4D12 #13831F #1AB82B

Accessibility & contrast

On white

10.07
#0B4D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#0B4D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B4D12
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B4D12#FFFFFF#000000##FFFFFF
##0B4D121.0010.072.0810.07
#FFFFFF10.071.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4509
Deuteranopia (green-blind)
#474018
Tritanopia (blue-blind)
#004B41
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #0b4d12;
/* rgb */ color: rgb(11, 77, 18);
/* oklch */ color: oklch(36.8% 0.110 144.2);
Tailwind
colors: {
  custom: {
    50: '#588053',
    500: '#0b4d12',
    950: '#000000',
  },
}
SCSS
$custom: #0b4d12;
$custom-light: #588053;
$custom-dark: #000000;
JSON
{
  "hex": "#0b4d12",
  "rgb": {
    "r": 11,
    "g": 77,
    "b": 18
  },
  "hsl": {
    "h": 126.364,
    "s": 75,
    "l": 17.255
  },
  "oklch": {
    "l": 0.36765,
    "c": 0.11002,
    "h": 144.2
  },
  "luminance": 0.05423
}

Semantic roles & 50–950 ramp

primary
#0B4D12
secondary
#892B7F
accent
#36DEF2
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A03
muted
#797C78

Preview Lab

Preview with #0B4D12

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

Preview Lab → · Contrast checker → · Palette generator →

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