#054216#054216

#054216 is a dark, moderate green. Relative luminance 0.040; OKLCH L 33.2% C 0.093 H 147.3°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#054216
RGBrgb(5, 66, 22)
HSLhsl(137, 86%, 14%)
HSVhsv(137, 92%, 26%)
CMYKcmyk(92.4%, 0%, 66.7%, 74.1%)
CIE-LABlab(23.63, -29.28, 21.30)
CIE-LCHlch(23.63, 36.21, 143.96°)
OKLaboklab(33.19% -0.0786 0.0504)
OKLCHoklch(33.19% 0.093 147.3)
XYZxyz(2.1554, 3.9864, 1.4147)
Luminance0.0399 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#054216 #420531
analogous
#134205 #054216 #054235
triadic
#054216 #160542 #421605
tetradic
#054216 #051342 #420531 #423505
square
#054216 #051342 #420531 #423505
split-complementary
#054216 #350542 #420513
monochromatic
#021C09 #021C09 #054216 #097B29 #0EB43C

Accessibility & contrast

On white

11.68
#054216 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#054216 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #054216
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##054216#FFFFFF#000000##FFFFFF
##0542161.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B11
Deuteranopia (green-blind)
#3C361A
Tritanopia (blue-blind)
#004038
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #054216;
/* rgb */ color: rgb(5, 66, 22);
/* oklch */ color: oklch(33.2% 0.093 147.3);
Tailwind
colors: {
  custom: {
    50: '#527755',
    500: '#054216',
    950: '#000000',
  },
}
SCSS
$custom: #054216;
$custom-light: #527755;
$custom-dark: #000000;
JSON
{
  "hex": "#054216",
  "rgb": {
    "r": 5,
    "g": 66,
    "b": 22
  },
  "hsl": {
    "h": 136.721,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.3319,
    "c": 0.0934,
    "h": 147.3
  },
  "luminance": 0.03987
}

Semantic roles & 50–950 ramp

primary
#054216
secondary
#822067
accent
#2CC2FC
background
#F5F7F4
surface
#E9EDE8
border
#C5C8C4
text
#030903
muted
#787B78

Preview Lab

Preview with #054216

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

Preview Lab → · Contrast checker → · Palette generator →

#054216 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva