#05420E#05420E

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

Color values

HEX#05420E
RGBrgb(5, 66, 14)
HSLhsl(129, 86%, 14%)
HSVhsv(129, 92%, 26%)
CMYKcmyk(92.4%, 0%, 78.8%, 74.1%)
CIE-LABlab(23.54, -30.35, 25.34)
CIE-LCHlch(23.54, 39.54, 140.14°)
OKLaboklab(33.09% -0.0819 0.058)
OKLCHoklch(33.09% 0.1 144.7)
XYZxyz(2.0899, 3.9601, 1.0696)
Luminance0.0396 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05420E #420539
analogous
#1B4205 #05420E #05422D
triadic
#05420E #0E0542 #420E05
tetradic
#05420E #051B42 #420539 #422D05
square
#05420E #051B42 #420539 #422D05
split-complementary
#05420E #2D0542 #42051B
monochromatic
#021C06 #021C06 #05420E #097B1A #0EB426

Accessibility & contrast

On white

11.72
#05420E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05420E
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05420E#FFFFFF#000000##FFFFFF
##05420E1.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B07
Deuteranopia (green-blind)
#3D3613
Tritanopia (blue-blind)
#004038
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #05420e;
/* rgb */ color: rgb(5, 66, 14);
/* oklch */ color: oklch(33.1% 0.100 144.7);
Tailwind
colors: {
  custom: {
    50: '#537750',
    500: '#05420e',
    950: '#000000',
  },
}
SCSS
$custom: #05420e;
$custom-light: #537750;
$custom-dark: #000000;
JSON
{
  "hex": "#05420e",
  "rgb": {
    "r": 5,
    "g": 66,
    "b": 14
  },
  "hsl": {
    "h": 128.852,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.3309,
    "c": 0.10037,
    "h": 144.7
  },
  "luminance": 0.0396
}

Semantic roles & 50–950 ramp

primary
#05420E
secondary
#822074
accent
#2CDDFC
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030902
muted
#787B78

Preview Lab

Preview with #05420E

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

Preview Lab → · Contrast checker → · Palette generator →

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