#054022#054022

#054022 is a dark, moderate green. Relative luminance 0.038; OKLCH L 32.8% C 0.078 H 154.7°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#054022
RGBrgb(5, 64, 34)
HSLhsl(149, 86%, 14%)
HSVhsv(149, 92%, 25%)
CMYKcmyk(92.2%, 0%, 46.9%, 74.9%)
CIE-LABlab(23.05, -26.15, 13.40)
CIE-LCHlch(23.05, 29.38, 152.87°)
OKLaboklab(32.77% -0.0703 0.0333)
OKLCHoklch(32.77% 0.078 154.7)
XYZxyz(2.1845, 3.8143, 2.1342)
Luminance0.0382 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#054022 #400523
analogous
#054005 #054022 #05403F
triadic
#054022 #220540 #402205
tetradic
#054022 #050540 #400523 #403F05
square
#054022 #050540 #400523 #403F05
split-complementary
#054022 #3F0540 #400505
monochromatic
#021C0F #021C0F #054022 #097940 #0EB25E

Accessibility & contrast

On white

11.91
#054022 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #054022
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##054022#FFFFFF#000000##FFFFFF
##0540221.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403A20
Deuteranopia (green-blind)
#393524
Tritanopia (blue-blind)
#003F39
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #054022;
/* rgb */ color: rgb(5, 64, 34);
/* oklch */ color: oklch(32.8% 0.078 154.7);
Tailwind
colors: {
  custom: {
    50: '#51755d',
    500: '#054022',
    950: '#000000',
  },
}
SCSS
$custom: #054022;
$custom-light: #51755d;
$custom-dark: #000000;
JSON
{
  "hex": "#054022",
  "rgb": {
    "r": 5,
    "g": 64,
    "b": 34
  },
  "hsl": {
    "h": 149.492,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.32774,
    "c": 0.07782,
    "h": 154.7
  },
  "luminance": 0.03815
}

Semantic roles & 50–950 ramp

primary
#054022
secondary
#812051
accent
#2C96FC
background
#F4F7F5
surface
#E7EDE9
border
#C3C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #054022

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

Preview Lab → · Contrast checker → · Palette generator →

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