#054008#054008

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

Color values

HEX#054008
RGBrgb(5, 64, 8)
HSLhsl(123, 86%, 14%)
HSVhsv(123, 92%, 25%)
CMYKcmyk(92.2%, 0%, 87.5%, 74.9%)
CIE-LABlab(22.71, -30.22, 27.07)
CIE-LCHlch(22.71, 40.57, 138.14°)
OKLaboklab(32.39% -0.0818 0.0609)
OKLCHoklch(32.39% 0.102 143.4)
XYZxyz(1.9397, 3.7163, 0.8448)
Luminance0.0372 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#054008 #40053D
analogous
#1F4005 #054008 #054025
triadic
#054008 #080540 #400805
tetradic
#054008 #051F40 #40053D #402505
square
#054008 #051F40 #40053D #402505
split-complementary
#054008 #250540 #40051F
monochromatic
#021C04 #021C04 #054008 #09790F #0EB216

Accessibility & contrast

On white

12.05
#054008 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #054008
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##054008#FFFFFF#000000##FFFFFF
##0540081.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #054008;
/* rgb */ color: rgb(5, 64, 8);
/* oklch */ color: oklch(32.4% 0.102 143.4);
Tailwind
colors: {
  custom: {
    50: '#53764c',
    500: '#054008',
    950: '#000000',
  },
}
SCSS
$custom: #054008;
$custom-light: #53764c;
$custom-dark: #000000;
JSON
{
  "hex": "#054008",
  "rgb": {
    "r": 5,
    "g": 64,
    "b": 8
  },
  "hsl": {
    "h": 123.051,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.32385,
    "c": 0.10199,
    "h": 143.4
  },
  "luminance": 0.03717
}

Semantic roles & 50–950 ramp

primary
#054008
secondary
#81207C
accent
#2CF1FC
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030801
muted
#787B77

Preview Lab

Preview with #054008

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

Preview Lab → · Contrast checker → · Palette generator →

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