#054222#054222

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

Color values

HEX#054222
RGBrgb(5, 66, 34)
HSLhsl(149, 86%, 14%)
HSVhsv(149, 92%, 26%)
CMYKcmyk(92.4%, 0%, 48.5%, 74.1%)
CIE-LABlab(23.82, -27.01, 14.40)
CIE-LCHlch(23.82, 30.61, 151.93°)
OKLaboklab(33.41% -0.0726 0.0356)
OKLCHoklch(33.41% 0.081 153.9)
XYZxyz(2.2993, 4.0439, 2.1724)
Luminance0.0404 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#054222 #420525
analogous
#064205 #054222 #054241
triadic
#054222 #220542 #422205
tetradic
#054222 #050642 #420525 #424105
square
#054222 #050642 #420525 #424105
split-complementary
#054222 #410542 #420506
monochromatic
#021C0F #021C0F #054222 #097B3F #0EB45D

Accessibility & contrast

On white

11.61
#054222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #054222
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##054222#FFFFFF#000000##FFFFFF
##0542221.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #054222;
/* rgb */ color: rgb(5, 66, 34);
/* oklch */ color: oklch(33.4% 0.081 153.9);
Tailwind
colors: {
  custom: {
    50: '#52775d',
    500: '#054222',
    950: '#000000',
  },
}
SCSS
$custom: #054222;
$custom-light: #52775d;
$custom-dark: #000000;
JSON
{
  "hex": "#054222",
  "rgb": {
    "r": 5,
    "g": 66,
    "b": 34
  },
  "hsl": {
    "h": 148.525,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.33409,
    "c": 0.08087,
    "h": 153.9
  },
  "luminance": 0.04044
}

Semantic roles & 50–950 ramp

primary
#054222
secondary
#822054
accent
#2C99FC
background
#F4F7F5
surface
#E8EDE9
border
#C4C8C5
text
#030904
muted
#787B79

Preview Lab

Preview with #054222

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

Preview Lab → · Contrast checker → · Palette generator →

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