#05420A#05420A

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

Color values

HEX#05420A
RGBrgb(5, 66, 10)
HSLhsl(125, 86%, 14%)
HSVhsv(125, 92%, 26%)
CMYKcmyk(92.4%, 0%, 84.8%, 74.1%)
CIE-LABlab(23.51, -30.76, 27.07)
CIE-LCHlch(23.51, 40.98, 138.65°)
OKLaboklab(33.05% -0.0832 0.0611)
OKLCHoklch(33.05% 0.103 143.7)
XYZxyz(2.0654, 3.9504, 0.9407)
Luminance0.0395 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05420A #42053D
analogous
#1F4205 #05420A #054229
triadic
#05420A #0A0542 #420A05
tetradic
#05420A #051F42 #42053D #422905
square
#05420A #051F42 #42053D #422905
split-complementary
#05420A #290542 #42051F
monochromatic
#021C04 #021C04 #05420A #097B13 #0EB41B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##05420A#FFFFFF#000000##FFFFFF
##05420A1.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)
#433B02
Deuteranopia (green-blind)
#3D3610
Tritanopia (blue-blind)
#004037
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #05420a;
/* rgb */ color: rgb(5, 66, 10);
/* oklch */ color: oklch(33.1% 0.103 143.7);
Tailwind
colors: {
  custom: {
    50: '#53774d',
    500: '#05420a',
    950: '#000000',
  },
}
SCSS
$custom: #05420a;
$custom-light: #53774d;
$custom-dark: #000000;
JSON
{
  "hex": "#05420a",
  "rgb": {
    "r": 5,
    "g": 66,
    "b": 10
  },
  "hsl": {
    "h": 124.918,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.33052,
    "c": 0.10321,
    "h": 143.7
  },
  "luminance": 0.03951
}

Semantic roles & 50–950 ramp

primary
#05420A
secondary
#82207A
accent
#2CEBFC
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030901
muted
#787B77

Preview Lab

Preview with #05420A

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

Preview Lab → · Contrast checker → · Palette generator →

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