#0B4A12#0B4A12

#0B4A12 is a dark, moderate green. Relative luminance 0.050; OKLCH L 35.8% C 0.106 H 144.3°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#0B4A12
RGBrgb(11, 74, 18)
HSLhsl(127, 74%, 17%)
HSVhsv(127, 85%, 29%)
CMYKcmyk(85.1%, 0%, 75.7%, 71%)
CIE-LABlab(26.77, -31.87, 26.91)
CIE-LCHlch(26.77, 41.71, 139.82°)
OKLaboklab(35.82% -0.0861 0.0619)
OKLCHoklch(35.82% 0.106 144.3)
XYZxyz(2.6958, 5.0121, 1.3975)
Luminance0.0501 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B4A12 #4A0B43
analogous
#244A0B #0B4A12 #0B4A32
triadic
#0B4A12 #120B4A #4A120B
tetradic
#0B4A12 #0B244A #4A0B43 #4A320B
square
#0B4A12 #0B244A #4A0B43 #4A320B
split-complementary
#0B4A12 #320B4A #4A0B24
monochromatic
#041B06 #041B06 #0B4A12 #137F1F #1BB52C

Accessibility & contrast

On white

10.49
#0B4A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#0B4A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B4A12
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B4A12#FFFFFF#000000##FFFFFF
##0B4A121.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C420A
Deuteranopia (green-blind)
#453D17
Tritanopia (blue-blind)
#00483F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #0b4a12;
/* rgb */ color: rgb(11, 74, 18);
/* oklch */ color: oklch(35.8% 0.106 144.3);
Tailwind
colors: {
  custom: {
    50: '#577d53',
    500: '#0b4a12',
    950: '#000000',
  },
}
SCSS
$custom: #0b4a12;
$custom-light: #577d53;
$custom-dark: #000000;
JSON
{
  "hex": "#0b4a12",
  "rgb": {
    "r": 11,
    "g": 74,
    "b": 18
  },
  "hsl": {
    "h": 126.667,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.35821,
    "c": 0.10605,
    "h": 144.3
  },
  "luminance": 0.05012
}

Semantic roles & 50–950 ramp

primary
#0B4A12
secondary
#862B7C
accent
#37DCF1
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #0B4A12

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

Preview Lab → · Contrast checker → · Palette generator →

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