#054005#054005

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

Color values

HEX#054005
RGBrgb(5, 64, 5)
HSLhsl(120, 86%, 14%)
HSVhsv(120, 92%, 25%)
CMYKcmyk(92.2%, 0%, 92.2%, 74.9%)
CIE-LABlab(22.69, -30.51, 28.27)
CIE-LCHlch(22.69, 41.59, 137.18°)
OKLaboklab(32.36% -0.0828 0.0631)
OKLCHoklch(32.36% 0.104 142.7)
XYZxyz(1.9233, 3.7098, 0.7582)
Luminance0.0371 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#054005 #400540
analogous
#224005 #054005 #054022
triadic
#054005 #050540 #400505
tetradic
#054005 #052240 #400540 #402205
square
#054005 #052240 #400540 #402205
split-complementary
#054005 #220540 #400522
monochromatic
#021C02 #021C02 #054005 #097909 #0EB20E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##054005#FFFFFF#000000##FFFFFF
##0540051.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)
#3B350C
Tritanopia (blue-blind)
#003E35
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #054005;
/* rgb */ color: rgb(5, 64, 5);
/* oklch */ color: oklch(32.4% 0.104 142.7);
Tailwind
colors: {
  custom: {
    50: '#53764b',
    500: '#054005',
    950: '#000000',
  },
}
SCSS
$custom: #054005;
$custom-light: #53764b;
$custom-dark: #000000;
JSON
{
  "hex": "#054005",
  "rgb": {
    "r": 5,
    "g": 64,
    "b": 5
  },
  "hsl": {
    "h": 120,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.32359,
    "c": 0.1041,
    "h": 142.7
  },
  "luminance": 0.0371
}

Semantic roles & 50–950 ramp

primary
#054005
secondary
#812081
accent
#2CFCFC
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030801
muted
#787B77

Preview Lab

Preview with #054005

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

Preview Lab → · Contrast checker → · Palette generator →

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