#05420B#05420B

#05420B is a dark, moderate green. Relative luminance 0.040; OKLCH L 33.1% C 0.103 H 143.9°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#05420B
RGBrgb(5, 66, 11)
HSLhsl(126, 86%, 14%)
HSVhsv(126, 92%, 26%)
CMYKcmyk(92.4%, 0%, 83.3%, 74.1%)
CIE-LABlab(23.51, -30.66, 26.66)
CIE-LCHlch(23.51, 40.64, 138.99°)
OKLaboklab(33.06% -0.0829 0.0604)
OKLCHoklch(33.06% 0.103 143.9)
XYZxyz(2.0711, 3.9526, 0.9703)
Luminance0.0395 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05420B #42053C
analogous
#1E4205 #05420B #05422A
triadic
#05420B #0B0542 #420B05
tetradic
#05420B #051E42 #42053C #422A05
square
#05420B #051E42 #42053C #422A05
split-complementary
#05420B #2A0542 #42051E
monochromatic
#021C05 #021C05 #05420B #097B14 #0EB41E

Accessibility & contrast

On white

11.73
#05420B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#05420B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05420B
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05420B#FFFFFF#000000##FFFFFF
##05420B1.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #05420b;
/* rgb */ color: rgb(5, 66, 11);
/* oklch */ color: oklch(33.1% 0.103 143.9);
Tailwind
colors: {
  custom: {
    50: '#53774e',
    500: '#05420b',
    950: '#000000',
  },
}
SCSS
$custom: #05420b;
$custom-light: #53774e;
$custom-dark: #000000;
JSON
{
  "hex": "#05420b",
  "rgb": {
    "r": 5,
    "g": 66,
    "b": 11
  },
  "hsl": {
    "h": 125.902,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.33061,
    "c": 0.10254,
    "h": 143.9
  },
  "luminance": 0.03953
}

Semantic roles & 50–950 ramp

primary
#05420B
secondary
#822079
accent
#2CE8FC
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030902
muted
#787B78

Preview Lab

Preview with #05420B

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

Preview Lab → · Contrast checker → · Palette generator →

#05420B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva