#054122#054122

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

Color values

HEX#054122
RGBrgb(5, 65, 34)
HSLhsl(149, 86%, 14%)
HSVhsv(149, 92%, 25%)
CMYKcmyk(92.3%, 0%, 47.7%, 74.5%)
CIE-LABlab(23.43, -26.58, 13.90)
CIE-LCHlch(23.43, 30.00, 152.39°)
OKLaboklab(33.09% -0.0715 0.0345)
OKLCHoklch(33.09% 0.079 154.3)
XYZxyz(2.2414, 3.9281, 2.1531)
Luminance0.0393 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#054122 #410524
analogous
#064105 #054122 #054140
triadic
#054122 #220541 #412205
tetradic
#054122 #050641 #410524 #414005
square
#054122 #050641 #410524 #414005
split-complementary
#054122 #400541 #410506
monochromatic
#021C0F #021C0F #054122 #097A40 #0EB35D

Accessibility & contrast

On white

11.76
#054122 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#054122 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #054122
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##054122#FFFFFF#000000##FFFFFF
##0541221.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #054122;
/* rgb */ color: rgb(5, 65, 34);
/* oklch */ color: oklch(33.1% 0.079 154.3);
Tailwind
colors: {
  custom: {
    50: '#52765d',
    500: '#054122',
    950: '#000000',
  },
}
SCSS
$custom: #054122;
$custom-light: #52765d;
$custom-dark: #000000;
JSON
{
  "hex": "#054122",
  "rgb": {
    "r": 5,
    "g": 65,
    "b": 34
  },
  "hsl": {
    "h": 149,
    "s": 85.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.33092,
    "c": 0.07934,
    "h": 154.3
  },
  "luminance": 0.03928
}

Semantic roles & 50–950 ramp

primary
#054122
secondary
#812053
accent
#2C97FC
background
#F4F7F5
surface
#E7EDE9
border
#C3C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #054122

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

Preview Lab → · Contrast checker → · Palette generator →

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