#054020#054020

#054020 is a dark, moderate green. Relative luminance 0.038; OKLCH L 32.7% C 0.080 H 153.2°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#054020
RGBrgb(5, 64, 32)
HSLhsl(147, 86%, 14%)
HSVhsv(147, 92%, 25%)
CMYKcmyk(92.2%, 0%, 50%, 74.9%)
CIE-LABlab(23.01, -26.60, 14.61)
CIE-LCHlch(23.01, 30.34, 151.22°)
OKLaboklab(32.73% -0.0714 0.036)
OKLCHoklch(32.73% 0.08 153.2)
XYZxyz(2.1565, 3.8031, 1.9866)
Luminance0.0380 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#054020 #400525
analogous
#074005 #054020 #05403D
triadic
#054020 #200540 #402005
tetradic
#054020 #050740 #400525 #403D05
square
#054020 #050740 #400525 #403D05
split-complementary
#054020 #3D0540 #400507
monochromatic
#021C0E #021C0E #054020 #09793C #0EB259

Accessibility & contrast

On white

11.93
#054020 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#054020 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #054020
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##054020#FFFFFF#000000##FFFFFF
##0540201.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403A1E
Deuteranopia (green-blind)
#393522
Tritanopia (blue-blind)
#003F38
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #054020;
/* rgb */ color: rgb(5, 64, 32);
/* oklch */ color: oklch(32.7% 0.080 153.2);
Tailwind
colors: {
  custom: {
    50: '#51755c',
    500: '#054020',
    950: '#000000',
  },
}
SCSS
$custom: #054020;
$custom-light: #51755c;
$custom-dark: #000000;
JSON
{
  "hex": "#054020",
  "rgb": {
    "r": 5,
    "g": 64,
    "b": 32
  },
  "hsl": {
    "h": 147.458,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.3273,
    "c": 0.08002,
    "h": 153.2
  },
  "luminance": 0.03803
}

Semantic roles & 50–950 ramp

primary
#054020
secondary
#812054
accent
#2C9DFC
background
#F4F7F5
surface
#E7EDE9
border
#C3C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #054020

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

Preview Lab → · Contrast checker → · Palette generator →

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