#054016#054016

#054016 is a dark, moderate green. Relative luminance 0.038; OKLCH L 32.5% C 0.091 H 147.7°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#054016
RGBrgb(5, 64, 22)
HSLhsl(137, 86%, 14%)
HSVhsv(137, 92%, 25%)
CMYKcmyk(92.2%, 0%, 65.6%, 74.9%)
CIE-LABlab(22.85, -28.49, 20.39)
CIE-LCHlch(22.85, 35.04, 144.41°)
OKLaboklab(32.55% -0.0765 0.0484)
OKLCHoklch(32.55% 0.091 147.7)
XYZxyz(2.0406, 3.7567, 1.3765)
Luminance0.0376 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#054016 #40052F
analogous
#114005 #054016 #054033
triadic
#054016 #160540 #401605
tetradic
#054016 #051140 #40052F #403305
square
#054016 #051140 #40052F #403305
split-complementary
#054016 #330540 #400511
monochromatic
#021C0A #021C0A #054016 #09792A #0EB23D

Accessibility & contrast

On white

11.99
#054016 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #054016
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##054016#FFFFFF#000000##FFFFFF
##0540161.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413912
Deuteranopia (green-blind)
#3A3519
Tritanopia (blue-blind)
#003E37
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #054016;
/* rgb */ color: rgb(5, 64, 22);
/* oklch */ color: oklch(32.5% 0.091 147.7);
Tailwind
colors: {
  custom: {
    50: '#527554',
    500: '#054016',
    950: '#000000',
  },
}
SCSS
$custom: #054016;
$custom-light: #527554;
$custom-dark: #000000;
JSON
{
  "hex": "#054016",
  "rgb": {
    "r": 5,
    "g": 64,
    "b": 22
  },
  "hsl": {
    "h": 137.288,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.32546,
    "c": 0.09055,
    "h": 147.7
  },
  "luminance": 0.03757
}

Semantic roles & 50–950 ramp

primary
#054016
secondary
#812065
accent
#2CC0FC
background
#F4F7F4
surface
#E7EDE8
border
#C3C8C4
text
#030803
muted
#787B78

Preview Lab

Preview with #054016

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

Preview Lab → · Contrast checker → · Palette generator →

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