#054004#054004

#054004 is a dark, moderate green. Relative luminance 0.037; OKLCH L 32.4% C 0.105 H 142.5°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#054004
RGBrgb(5, 64, 4)
HSLhsl(119, 88%, 13%)
HSVhsv(119, 94%, 25%)
CMYKcmyk(92.2%, 0%, 93.8%, 74.9%)
CIE-LABlab(22.68, -30.60, 28.67)
CIE-LCHlch(22.68, 41.94, 136.87°)
OKLaboklab(32.35% -0.0831 0.0638)
OKLCHoklch(32.35% 0.105 142.5)
XYZxyz(1.9178, 3.7076, 0.7294)
Luminance0.0371 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#054004 #3F0440
analogous
#234004 #054004 #044021
triadic
#054004 #040540 #400405
tetradic
#054004 #042340 #3F0440 #402104
square
#054004 #042340 #3F0440 #402104
split-complementary
#054004 #210440 #400423
monochromatic
#021D02 #021D02 #054004 #0A7A08 #0EB30B

Accessibility & contrast

On white

12.06
#054004 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#054004 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #054004
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##054004#FFFFFF#000000##FFFFFF
##0540041.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423900
Deuteranopia (green-blind)
#3B340B
Tritanopia (blue-blind)
#003E35
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #054004;
/* rgb */ color: rgb(5, 64, 4);
/* oklch */ color: oklch(32.4% 0.105 142.5);
Tailwind
colors: {
  custom: {
    50: '#53764a',
    500: '#054004',
    950: '#000000',
  },
}
SCSS
$custom: #054004;
$custom-light: #53764a;
$custom-dark: #000000;
JSON
{
  "hex": "#054004",
  "rgb": {
    "r": 5,
    "g": 64,
    "b": 4
  },
  "hsl": {
    "h": 119,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.3235,
    "c": 0.10481,
    "h": 142.5
  },
  "luminance": 0.03708
}

Semantic roles & 50–950 ramp

primary
#054004
secondary
#801F81
accent
#29FEFB
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030801
muted
#787B77

Preview Lab

Preview with #054004

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

Preview Lab → · Contrast checker → · Palette generator →

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