#05421D#05421D

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

Color values

HEX#05421D
RGBrgb(5, 66, 29)
HSLhsl(144, 86%, 14%)
HSVhsv(144, 92%, 26%)
CMYKcmyk(92.4%, 0%, 56.1%, 74.1%)
CIE-LABlab(23.73, -28.05, 17.36)
CIE-LCHlch(23.73, 32.99, 148.25°)
OKLaboklab(33.31% -0.0752 0.0422)
OKLCHoklch(33.31% 0.086 150.7)
XYZxyz(2.2324, 4.0171, 1.8199)
Luminance0.0402 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05421D #42052A
analogous
#0C4205 #05421D #05423C
triadic
#05421D #1D0542 #421D05
tetradic
#05421D #050C42 #42052A #423C05
square
#05421D #050C42 #42052A #423C05
split-complementary
#05421D #3C0542 #42050C
monochromatic
#021C0C #021C0C #05421D #097B36 #0EB44F

Accessibility & contrast

On white

11.64
#05421D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05421D
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05421D#FFFFFF#000000##FFFFFF
##05421D1.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423B1A
Deuteranopia (green-blind)
#3C3720
Tritanopia (blue-blind)
#004139
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #05421d;
/* rgb */ color: rgb(5, 66, 29);
/* oklch */ color: oklch(33.3% 0.086 150.7);
Tailwind
colors: {
  custom: {
    50: '#527759',
    500: '#05421d',
    950: '#000000',
  },
}
SCSS
$custom: #05421d;
$custom-light: #527759;
$custom-dark: #000000;
JSON
{
  "hex": "#05421d",
  "rgb": {
    "r": 5,
    "g": 66,
    "b": 29
  },
  "hsl": {
    "h": 143.607,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.33308,
    "c": 0.08628,
    "h": 150.7
  },
  "luminance": 0.04017
}

Semantic roles & 50–950 ramp

primary
#05421D
secondary
#82205C
accent
#2CAAFC
background
#F5F7F5
surface
#E8EDE9
border
#C4C8C5
text
#030903
muted
#787B78

Preview Lab

Preview with #05421D

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

Preview Lab → · Contrast checker → · Palette generator →

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