#05421C#05421C

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

Color values

HEX#05421C
RGBrgb(5, 66, 28)
HSLhsl(143, 86%, 14%)
HSVhsv(143, 92%, 26%)
CMYKcmyk(92.4%, 0%, 57.6%, 74.1%)
CIE-LABlab(23.71, -28.24, 17.94)
CIE-LCHlch(23.71, 33.46, 147.58°)
OKLaboklab(33.29% -0.0758 0.0435)
OKLCHoklch(33.29% 0.087 150.2)
XYZxyz(2.2202, 4.0123, 1.7558)
Luminance0.0401 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05421C #42052B
analogous
#0D4205 #05421C #05423B
triadic
#05421C #1C0542 #421C05
tetradic
#05421C #050D42 #42052B #423B05
square
#05421C #050D42 #42052B #423B05
split-complementary
#05421C #3B0542 #42050D
monochromatic
#021C0C #021C0C #05421C #097B34 #0EB44C

Accessibility & contrast

On white

11.65
#05421C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05421C
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05421C#FFFFFF#000000##FFFFFF
##05421C1.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #05421c;
/* rgb */ color: rgb(5, 66, 28);
/* oklch */ color: oklch(33.3% 0.087 150.2);
Tailwind
colors: {
  custom: {
    50: '#527759',
    500: '#05421c',
    950: '#000000',
  },
}
SCSS
$custom: #05421c;
$custom-light: #527759;
$custom-dark: #000000;
JSON
{
  "hex": "#05421c",
  "rgb": {
    "r": 5,
    "g": 66,
    "b": 28
  },
  "hsl": {
    "h": 142.623,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.33289,
    "c": 0.08734,
    "h": 150.2
  },
  "luminance": 0.04013
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #05421C

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

Preview Lab → · Contrast checker → · Palette generator →

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