#054019#054019

#054019 is a dark, moderate green. Relative luminance 0.038; OKLCH L 32.6% C 0.088 H 149.1°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#054019
RGBrgb(5, 64, 25)
HSLhsl(140, 86%, 14%)
HSVhsv(140, 92%, 25%)
CMYKcmyk(92.2%, 0%, 60.9%, 74.9%)
CIE-LABlab(22.89, -27.98, 18.71)
CIE-LCHlch(22.89, 33.66, 146.23°)
OKLaboklab(32.6% -0.0751 0.045)
OKLCHoklch(32.6% 0.088 149.1)
XYZxyz(2.0713, 3.7690, 1.5378)
Luminance0.0377 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#054019 #40052C
analogous
#0E4005 #054019 #054036
triadic
#054019 #190540 #401905
tetradic
#054019 #050E40 #40052C #403605
square
#054019 #050E40 #40052C #403605
split-complementary
#054019 #360540 #40050E
monochromatic
#021C0B #021C0B #054019 #09792F #0EB245

Accessibility & contrast

On white

11.97
#054019 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#054019 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #054019
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##054019#FFFFFF#000000##FFFFFF
##0540191.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413915
Deuteranopia (green-blind)
#3A351C
Tritanopia (blue-blind)
#003F37
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #054019;
/* rgb */ color: rgb(5, 64, 25);
/* oklch */ color: oklch(32.6% 0.088 149.1);
Tailwind
colors: {
  custom: {
    50: '#527556',
    500: '#054019',
    950: '#000000',
  },
}
SCSS
$custom: #054019;
$custom-light: #527556;
$custom-dark: #000000;
JSON
{
  "hex": "#054019",
  "rgb": {
    "r": 5,
    "g": 64,
    "b": 25
  },
  "hsl": {
    "h": 140.339,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.32595,
    "c": 0.08752,
    "h": 149.1
  },
  "luminance": 0.03769
}

Semantic roles & 50–950 ramp

primary
#054019
secondary
#812060
accent
#2CB5FC
background
#F4F7F5
surface
#E7EDE9
border
#C3C8C5
text
#030803
muted
#787B78

Preview Lab

Preview with #054019

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

Preview Lab → · Contrast checker → · Palette generator →

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