#0B420B#0B420B

#0B420B is a dark, moderate green. Relative luminance 0.040; OKLCH L 33.2% C 0.101 H 142.9°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#0B420B
RGBrgb(11, 66, 11)
HSLhsl(120, 71%, 15%)
HSVhsv(120, 83%, 26%)
CMYKcmyk(83.3%, 0%, 83.3%, 74.1%)
CIE-LABlab(23.64, -29.55, 26.83)
CIE-LCHlch(23.64, 39.91, 137.75°)
OKLaboklab(33.21% -0.0802 0.0607)
OKLCHoklch(33.21% 0.101 142.9)
XYZxyz(2.1465, 3.9915, 0.9739)
Luminance0.0399 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B420B #420B42
analogous
#26420B #0B420B #0B4226
triadic
#0B420B #0B0B42 #420B0B
tetradic
#0B420B #0B2642 #420B42 #42260B
square
#0B420B #0B2642 #420B42 #42260B
split-complementary
#0B420B #260B42 #420B26
monochromatic
#041A04 #041A04 #0B420B #147614 #1CAB1C

Accessibility & contrast

On white

11.68
#0B420B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#0B420B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B420B
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B420B#FFFFFF#000000##FFFFFF
##0B420B1.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B03
Deuteranopia (green-blind)
#3D3711
Tritanopia (blue-blind)
#004037
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #0b420b;
/* rgb */ color: rgb(11, 66, 11);
/* oklch */ color: oklch(33.2% 0.101 142.9);
Tailwind
colors: {
  custom: {
    50: '#55774e',
    500: '#0b420b',
    950: '#000000',
  },
}
SCSS
$custom: #0b420b;
$custom-light: #55774e;
$custom-dark: #000000;
JSON
{
  "hex": "#0b420b",
  "rgb": {
    "r": 11,
    "g": 66,
    "b": 11
  },
  "hsl": {
    "h": 120,
    "s": 71.429,
    "l": 15.098
  },
  "oklch": {
    "l": 0.33206,
    "c": 0.10058,
    "h": 142.9
  },
  "luminance": 0.03992
}

Semantic roles & 50–950 ramp

primary
#0B420B
secondary
#7F2A7F
accent
#3AEEEE
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030902
muted
#787B78

Preview Lab

Preview with #0B420B

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

Preview Lab → · Contrast checker → · Palette generator →

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