#054223#054223

#054223 is a dark, moderate green. Relative luminance 0.041; OKLCH L 33.4% C 0.080 H 154.6°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#054223
RGBrgb(5, 66, 35)
HSLhsl(150, 86%, 14%)
HSVhsv(150, 92%, 26%)
CMYKcmyk(92.4%, 0%, 47%, 74.1%)
CIE-LABlab(23.84, -26.79, 13.80)
CIE-LCHlch(23.84, 30.14, 152.74°)
OKLaboklab(33.43% -0.072 0.0343)
OKLCHoklch(33.43% 0.08 154.6)
XYZxyz(2.3139, 4.0498, 2.2495)
Luminance0.0405 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#054223 #420524
analogous
#064205 #054223 #054242
triadic
#054223 #230542 #422305
tetradic
#054223 #050642 #420524 #424205
square
#054223 #050642 #420524 #424205
split-complementary
#054223 #420542 #420506
monochromatic
#021C0F #021C0F #054223 #097B41 #0EB45F

Accessibility & contrast

On white

11.60
#054223 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #054223
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##054223#FFFFFF#000000##FFFFFF
##0542231.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #054223;
/* rgb */ color: rgb(5, 66, 35);
/* oklch */ color: oklch(33.4% 0.080 154.6);
Tailwind
colors: {
  custom: {
    50: '#52775e',
    500: '#054223',
    950: '#000000',
  },
}
SCSS
$custom: #054223;
$custom-light: #52775e;
$custom-dark: #000000;
JSON
{
  "hex": "#054223",
  "rgb": {
    "r": 5,
    "g": 66,
    "b": 35
  },
  "hsl": {
    "h": 149.508,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.33432,
    "c": 0.07977,
    "h": 154.6
  },
  "luminance": 0.0405
}

Semantic roles & 50–950 ramp

primary
#054223
secondary
#822052
accent
#2C96FC
background
#F4F7F5
surface
#E8EDE9
border
#C4C8C5
text
#030904
muted
#787B79

Preview Lab

Preview with #054223

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

Preview Lab → · Contrast checker → · Palette generator →

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