#054219#054219

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

Color values

HEX#054219
RGBrgb(5, 66, 25)
HSLhsl(140, 86%, 14%)
HSVhsv(140, 92%, 26%)
CMYKcmyk(92.4%, 0%, 62.1%, 74.1%)
CIE-LABlab(23.67, -28.78, 19.65)
CIE-LCHlch(23.67, 34.85, 145.68°)
OKLaboklab(33.24% -0.0772 0.0471)
OKLCHoklch(33.24% 0.09 148.7)
XYZxyz(2.1861, 3.9986, 1.5761)
Luminance0.0400 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#054219 #42052E
analogous
#104205 #054219 #054238
triadic
#054219 #190542 #421905
tetradic
#054219 #051042 #42052E #423805
square
#054219 #051042 #42052E #423805
split-complementary
#054219 #380542 #420510
monochromatic
#021C0B #021C0B #054219 #097B2F #0EB444

Accessibility & contrast

On white

11.67
#054219 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #054219
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##054219#FFFFFF#000000##FFFFFF
##0542191.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B15
Deuteranopia (green-blind)
#3C361C
Tritanopia (blue-blind)
#004039
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #054219;
/* rgb */ color: rgb(5, 66, 25);
/* oklch */ color: oklch(33.2% 0.090 148.7);
Tailwind
colors: {
  custom: {
    50: '#527757',
    500: '#054219',
    950: '#000000',
  },
}
SCSS
$custom: #054219;
$custom-light: #527757;
$custom-dark: #000000;
JSON
{
  "hex": "#054219",
  "rgb": {
    "r": 5,
    "g": 66,
    "b": 25
  },
  "hsl": {
    "h": 139.672,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.33237,
    "c": 0.09044,
    "h": 148.7
  },
  "luminance": 0.03999
}

Semantic roles & 50–950 ramp

primary
#054219
secondary
#822062
accent
#2CB8FC
background
#F5F7F5
surface
#E8EDE9
border
#C4C8C5
text
#030903
muted
#787B78

Preview Lab

Preview with #054219

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

Preview Lab → · Contrast checker → · Palette generator →

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