#054121#054121

#054121 is a dark, moderate green. Relative luminance 0.039; OKLCH L 33.1% C 0.080 H 153.5°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#054121
RGBrgb(5, 65, 33)
HSLhsl(148, 86%, 14%)
HSVhsv(148, 92%, 25%)
CMYKcmyk(92.3%, 0%, 49.2%, 74.5%)
CIE-LABlab(23.41, -26.81, 14.50)
CIE-LCHlch(23.41, 30.48, 151.58°)
OKLaboklab(33.07% -0.072 0.0358)
OKLCHoklch(33.07% 0.08 153.5)
XYZxyz(2.2272, 3.9224, 2.0783)
Luminance0.0392 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#054121 #410525
analogous
#074105 #054121 #05413F
triadic
#054121 #210541 #412105
tetradic
#054121 #050741 #410525 #413F05
square
#054121 #050741 #410525 #413F05
split-complementary
#054121 #3F0541 #410507
monochromatic
#021C0E #021C0E #054121 #097A3E #0EB35B

Accessibility & contrast

On white

11.77
#054121 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #054121
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##054121#FFFFFF#000000##FFFFFF
##0541211.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #054121;
/* rgb */ color: rgb(5, 65, 33);
/* oklch */ color: oklch(33.1% 0.080 153.5);
Tailwind
colors: {
  custom: {
    50: '#52765c',
    500: '#054121',
    950: '#000000',
  },
}
SCSS
$custom: #054121;
$custom-light: #52765c;
$custom-dark: #000000;
JSON
{
  "hex": "#054121",
  "rgb": {
    "r": 5,
    "g": 65,
    "b": 33
  },
  "hsl": {
    "h": 148,
    "s": 85.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.3307,
    "c": 0.08044,
    "h": 153.5
  },
  "luminance": 0.03923
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #054121

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

Preview Lab → · Contrast checker → · Palette generator →

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