#05421E#05421E

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

Color values

HEX#05421E
RGBrgb(5, 66, 30)
HSLhsl(145, 86%, 14%)
HSVhsv(145, 92%, 26%)
CMYKcmyk(92.4%, 0%, 54.5%, 74.1%)
CIE-LABlab(23.74, -27.85, 16.78)
CIE-LCHlch(23.74, 32.52, 148.94°)
OKLaboklab(33.33% -0.0747 0.0409)
OKLCHoklch(33.33% 0.085 151.3)
XYZxyz(2.2449, 4.0221, 1.8861)
Luminance0.0402 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05421E #420529
analogous
#0B4205 #05421E #05423D
triadic
#05421E #1E0542 #421E05
tetradic
#05421E #050B42 #420529 #423D05
square
#05421E #050B42 #420529 #423D05
split-complementary
#05421E #3D0542 #42050B
monochromatic
#021C0D #021C0D #05421E #097B38 #0EB452

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##05421E#FFFFFF#000000##FFFFFF
##05421E1.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)
#423B1B
Deuteranopia (green-blind)
#3C3721
Tritanopia (blue-blind)
#00413A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #05421e;
/* rgb */ color: rgb(5, 66, 30);
/* oklch */ color: oklch(33.3% 0.085 151.3);
Tailwind
colors: {
  custom: {
    50: '#52775a',
    500: '#05421e',
    950: '#000000',
  },
}
SCSS
$custom: #05421e;
$custom-light: #52775a;
$custom-dark: #000000;
JSON
{
  "hex": "#05421e",
  "rgb": {
    "r": 5,
    "g": 66,
    "b": 30
  },
  "hsl": {
    "h": 144.59,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.33327,
    "c": 0.08521,
    "h": 151.3
  },
  "luminance": 0.04022
}

Semantic roles & 50–950 ramp

primary
#05421E
secondary
#82205A
accent
#2CA7FC
background
#F4F7F5
surface
#E8EDE9
border
#C4C8C5
text
#030904
muted
#787B79

Preview Lab

Preview with #05421E

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

Preview Lab → · Contrast checker → · Palette generator →

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