#054221#054221

#054221 is a dark, moderate green. Relative luminance 0.040; OKLCH L 33.4% C 0.082 H 153.2°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#054221
RGBrgb(5, 66, 33)
HSLhsl(148, 86%, 14%)
HSVhsv(148, 92%, 26%)
CMYKcmyk(92.4%, 0%, 50%, 74.1%)
CIE-LABlab(23.80, -27.23, 15.00)
CIE-LCHlch(23.80, 31.09, 151.15°)
OKLaboklab(33.39% -0.0731 0.037)
OKLCHoklch(33.39% 0.082 153.2)
XYZxyz(2.2851, 4.0382, 2.0976)
Luminance0.0404 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#054221 #420526
analogous
#084205 #054221 #054240
triadic
#054221 #210542 #422105
tetradic
#054221 #050842 #420526 #424005
square
#054221 #050842 #420526 #424005
split-complementary
#054221 #400542 #420508
monochromatic
#021C0E #021C0E #054221 #097B3D #0EB45A

Accessibility & contrast

On white

11.62
#054221 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#054221 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #054221
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##054221#FFFFFF#000000##FFFFFF
##0542211.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #054221;
/* rgb */ color: rgb(5, 66, 33);
/* oklch */ color: oklch(33.4% 0.082 153.2);
Tailwind
colors: {
  custom: {
    50: '#52775c',
    500: '#054221',
    950: '#000000',
  },
}
SCSS
$custom: #054221;
$custom-light: #52775c;
$custom-dark: #000000;
JSON
{
  "hex": "#054221",
  "rgb": {
    "r": 5,
    "g": 66,
    "b": 33
  },
  "hsl": {
    "h": 147.541,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.33388,
    "c": 0.08195,
    "h": 153.2
  },
  "luminance": 0.04038
}

Semantic roles & 50–950 ramp

primary
#054221
secondary
#822055
accent
#2C9CFC
background
#F4F7F5
surface
#E8EDE9
border
#C4C8C5
text
#030904
muted
#787B79

Preview Lab

Preview with #054221

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

Preview Lab → · Contrast checker → · Palette generator →

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