#05421B#05421B

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

Color values

HEX#05421B
RGBrgb(5, 66, 27)
HSLhsl(142, 86%, 14%)
HSVhsv(142, 92%, 26%)
CMYKcmyk(92.4%, 0%, 59.1%, 74.1%)
CIE-LABlab(23.70, -28.43, 18.52)
CIE-LCHlch(23.70, 33.93, 146.92°)
OKLaboklab(33.27% -0.0763 0.0447)
OKLCHoklch(33.27% 0.088 149.6)
XYZxyz(2.2084, 4.0075, 1.6938)
Luminance0.0401 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05421B #42052C
analogous
#0E4205 #05421B #05423A
triadic
#05421B #1B0542 #421B05
tetradic
#05421B #050E42 #42052C #423A05
square
#05421B #050E42 #42052C #423A05
split-complementary
#05421B #3A0542 #42050E
monochromatic
#021C0C #021C0C #05421B #097B32 #0EB44A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##05421B#FFFFFF#000000##FFFFFF
##05421B1.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)
#433B18
Deuteranopia (green-blind)
#3C371E
Tritanopia (blue-blind)
#004139
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #05421b;
/* rgb */ color: rgb(5, 66, 27);
/* oklch */ color: oklch(33.3% 0.088 149.6);
Tailwind
colors: {
  custom: {
    50: '#527758',
    500: '#05421b',
    950: '#000000',
  },
}
SCSS
$custom: #05421b;
$custom-light: #527758;
$custom-dark: #000000;
JSON
{
  "hex": "#05421b",
  "rgb": {
    "r": 5,
    "g": 66,
    "b": 27
  },
  "hsl": {
    "h": 141.639,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.33271,
    "c": 0.08838,
    "h": 149.6
  },
  "luminance": 0.04008
}

Semantic roles & 50–950 ramp

primary
#05421B
secondary
#82205F
accent
#2CB1FC
background
#F5F7F5
surface
#E8EDE9
border
#C4C8C5
text
#030903
muted
#787B78

Preview Lab

Preview with #05421B

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

Preview Lab → · Contrast checker → · Palette generator →

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