#05421A#05421A

#05421A is a dark, moderate green. Relative luminance 0.040; OKLCH L 33.3% C 0.089 H 149.1°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#05421A
RGBrgb(5, 66, 26)
HSLhsl(141, 86%, 14%)
HSVhsv(141, 92%, 26%)
CMYKcmyk(92.4%, 0%, 60.6%, 74.1%)
CIE-LABlab(23.68, -28.61, 19.09)
CIE-LCHlch(23.68, 34.39, 146.29°)
OKLaboklab(33.25% -0.0767 0.0459)
OKLCHoklch(33.25% 0.089 149.1)
XYZxyz(2.1971, 4.0030, 1.6339)
Luminance0.0400 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05421A #42052D
analogous
#0F4205 #05421A #054239
triadic
#05421A #1A0542 #421A05
tetradic
#05421A #050F42 #42052D #423905
square
#05421A #050F42 #42052D #423905
split-complementary
#05421A #390542 #42050F
monochromatic
#021C0B #021C0B #05421A #097B30 #0EB447

Accessibility & contrast

On white

11.66
#05421A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#05421A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05421A
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05421A#FFFFFF#000000##FFFFFF
##05421A1.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B16
Deuteranopia (green-blind)
#3C371D
Tritanopia (blue-blind)
#004139
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #05421a;
/* rgb */ color: rgb(5, 66, 26);
/* oklch */ color: oklch(33.3% 0.089 149.1);
Tailwind
colors: {
  custom: {
    50: '#527757',
    500: '#05421a',
    950: '#000000',
  },
}
SCSS
$custom: #05421a;
$custom-light: #527757;
$custom-dark: #000000;
JSON
{
  "hex": "#05421a",
  "rgb": {
    "r": 5,
    "g": 66,
    "b": 26
  },
  "hsl": {
    "h": 140.656,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.33254,
    "c": 0.08941,
    "h": 149.1
  },
  "luminance": 0.04003
}

Semantic roles & 50–950 ramp

primary
#05421A
secondary
#822061
accent
#2CB4FC
background
#F5F7F5
surface
#E8EDE9
border
#C4C8C5
text
#030903
muted
#787B78

Preview Lab

Preview with #05421A

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

Preview Lab → · Contrast checker → · Palette generator →

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