#054010#054010

#054010 is a dark, moderate green. Relative luminance 0.037; OKLCH L 32.5% C 0.096 H 145.4°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#054010
RGBrgb(5, 64, 16)
HSLhsl(131, 86%, 14%)
HSVhsv(131, 92%, 25%)
CMYKcmyk(92.2%, 0%, 75%, 74.9%)
CIE-LABlab(22.78, -29.36, 23.54)
CIE-LCHlch(22.78, 37.63, 141.27°)
OKLaboklab(32.46% -0.0791 0.0545)
OKLCHoklch(32.46% 0.096 145.4)
XYZxyz(1.9894, 3.7362, 1.1064)
Luminance0.0374 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#054010 #400535
analogous
#174005 #054010 #05402D
triadic
#054010 #100540 #401005
tetradic
#054010 #051740 #400535 #402D05
square
#054010 #051740 #400535 #402D05
split-complementary
#054010 #2D0540 #400517
monochromatic
#021C07 #021C07 #054010 #09791E #0EB22C

Accessibility & contrast

On white

12.02
#054010 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #054010
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##054010#FFFFFF#000000##FFFFFF
##0540101.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41390A
Deuteranopia (green-blind)
#3B3514
Tritanopia (blue-blind)
#003E36
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #054010;
/* rgb */ color: rgb(5, 64, 16);
/* oklch */ color: oklch(32.5% 0.096 145.4);
Tailwind
colors: {
  custom: {
    50: '#527651',
    500: '#054010',
    950: '#000000',
  },
}
SCSS
$custom: #054010;
$custom-light: #527651;
$custom-dark: #000000;
JSON
{
  "hex": "#054010",
  "rgb": {
    "r": 5,
    "g": 64,
    "b": 16
  },
  "hsl": {
    "h": 131.186,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.32464,
    "c": 0.09606,
    "h": 145.4
  },
  "luminance": 0.03736
}

Semantic roles & 50–950 ramp

primary
#054010
secondary
#81206F
accent
#2CD5FC
background
#F5F7F4
surface
#E8EDE7
border
#C4C8C3
text
#030802
muted
#787B78

Preview Lab

Preview with #054010

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

Preview Lab → · Contrast checker → · Palette generator →

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