#05421F#05421F

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

Color values

HEX#05421F
RGBrgb(5, 66, 31)
HSLhsl(146, 86%, 14%)
HSVhsv(146, 92%, 26%)
CMYKcmyk(92.4%, 0%, 53%, 74.1%)
CIE-LABlab(23.76, -27.65, 16.19)
CIE-LCHlch(23.76, 32.04, 149.65°)
OKLaboklab(33.35% -0.0742 0.0396)
OKLCHoklch(33.35% 0.084 151.9)
XYZxyz(2.2579, 4.0273, 1.9544)
Luminance0.0403 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05421F #420528
analogous
#0A4205 #05421F #05423E
triadic
#05421F #1F0542 #421F05
tetradic
#05421F #050A42 #420528 #423E05
square
#05421F #050A42 #420528 #423E05
split-complementary
#05421F #3E0542 #42050A
monochromatic
#021C0D #021C0D #05421F #097B3A #0EB454

Accessibility & contrast

On white

11.63
#05421F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#05421F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05421F
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05421F#FFFFFF#000000##FFFFFF
##05421F1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423B1C
Deuteranopia (green-blind)
#3B3721
Tritanopia (blue-blind)
#00413A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #05421f;
/* rgb */ color: rgb(5, 66, 31);
/* oklch */ color: oklch(33.3% 0.084 151.9);
Tailwind
colors: {
  custom: {
    50: '#52775b',
    500: '#05421f',
    950: '#000000',
  },
}
SCSS
$custom: #05421f;
$custom-light: #52775b;
$custom-dark: #000000;
JSON
{
  "hex": "#05421f",
  "rgb": {
    "r": 5,
    "g": 66,
    "b": 31
  },
  "hsl": {
    "h": 145.574,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.33347,
    "c": 0.08412,
    "h": 151.9
  },
  "luminance": 0.04028
}

Semantic roles & 50–950 ramp

primary
#05421F
secondary
#822059
accent
#2CA3FC
background
#F4F7F5
surface
#E8EDE9
border
#C4C8C5
text
#030904
muted
#787B79

Preview Lab

Preview with #05421F

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

Preview Lab → · Contrast checker → · Palette generator →

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