#054721#054721

#054721 is a dark, moderate green. Relative luminance 0.046; OKLCH L 35.0% C 0.089 H 151.5°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#054721
RGBrgb(5, 71, 33)
HSLhsl(145, 87%, 15%)
HSVhsv(145, 93%, 28%)
CMYKcmyk(93%, 0%, 53.5%, 72.2%)
CIE-LABlab(25.71, -29.31, 17.44)
CIE-LCHlch(25.71, 34.11, 149.24°)
OKLaboklab(34.97% -0.0786 0.0426)
OKLCHoklch(34.97% 0.089 151.5)
XYZxyz(2.5901, 4.6482, 2.1992)
Luminance0.0465 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#054721 #47052B
analogous
#0A4705 #054721 #054742
triadic
#054721 #210547 #472105
tetradic
#054721 #050A47 #47052B #474205
square
#054721 #050A47 #47052B #474205
split-complementary
#054721 #420547 #47050A
monochromatic
#021D0D #021D0D #054721 #09803C #0DB956

Accessibility & contrast

On white

10.88
#054721 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#054721 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #054721
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##054721#FFFFFF#000000##FFFFFF
##0547211.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47401E
Deuteranopia (green-blind)
#403B24
Tritanopia (blue-blind)
#00463E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #054721;
/* rgb */ color: rgb(5, 71, 33);
/* oklch */ color: oklch(35.0% 0.089 151.5);
Tailwind
colors: {
  custom: {
    50: '#547b5d',
    500: '#054721',
    950: '#000000',
  },
}
SCSS
$custom: #054721;
$custom-light: #547b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#054721",
  "rgb": {
    "r": 5,
    "g": 71,
    "b": 33
  },
  "hsl": {
    "h": 145.455,
    "s": 86.842,
    "l": 14.902
  },
  "oklch": {
    "l": 0.3497,
    "c": 0.08942,
    "h": 151.5
  },
  "luminance": 0.04649
}

Semantic roles & 50–950 ramp

primary
#054721
secondary
#87215C
accent
#2BA4FD
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#030904
muted
#787B79

Preview Lab

Preview with #054721

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

Preview Lab → · Contrast checker → · Palette generator →

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