#054120#054120

#054120 is a dark, moderate green. Relative luminance 0.039; OKLCH L 33.0% C 0.082 H 152.9°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#054120
RGBrgb(5, 65, 32)
HSLhsl(147, 86%, 14%)
HSVhsv(147, 92%, 25%)
CMYKcmyk(92.3%, 0%, 50.8%, 74.5%)
CIE-LABlab(23.39, -27.02, 15.10)
CIE-LCHlch(23.39, 30.96, 150.80°)
OKLaboklab(33.05% -0.0726 0.0372)
OKLCHoklch(33.05% 0.082 152.9)
XYZxyz(2.2134, 3.9169, 2.0056)
Luminance0.0392 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#054120 #410526
analogous
#084105 #054120 #05413E
triadic
#054120 #200541 #412005
tetradic
#054120 #050841 #410526 #413E05
square
#054120 #050841 #410526 #413E05
split-complementary
#054120 #3E0541 #410508
monochromatic
#021C0E #021C0E #054120 #097A3C #0EB358

Accessibility & contrast

On white

11.78
#054120 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#054120 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #054120
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##054120#FFFFFF#000000##FFFFFF
##0541201.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413B1E
Deuteranopia (green-blind)
#3A3622
Tritanopia (blue-blind)
#004039
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #054120;
/* rgb */ color: rgb(5, 65, 32);
/* oklch */ color: oklch(33.0% 0.082 152.9);
Tailwind
colors: {
  custom: {
    50: '#52765c',
    500: '#054120',
    950: '#000000',
  },
}
SCSS
$custom: #054120;
$custom-light: #52765c;
$custom-dark: #000000;
JSON
{
  "hex": "#054120",
  "rgb": {
    "r": 5,
    "g": 65,
    "b": 32
  },
  "hsl": {
    "h": 147,
    "s": 85.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.33048,
    "c": 0.08154,
    "h": 152.9
  },
  "luminance": 0.03917
}

Semantic roles & 50–950 ramp

primary
#054120
secondary
#812056
accent
#2C9EFC
background
#F4F7F5
surface
#E7EDE9
border
#C3C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #054120

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

Preview Lab → · Contrast checker → · Palette generator →

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