#054215#054215

#054215 is a dark, moderate green. Relative luminance 0.040; OKLCH L 33.2% C 0.094 H 146.9°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#054215
RGBrgb(5, 66, 21)
HSLhsl(136, 86%, 14%)
HSVhsv(136, 92%, 26%)
CMYKcmyk(92.4%, 0%, 68.2%, 74.1%)
CIE-LABlab(23.61, -29.43, 21.84)
CIE-LCHlch(23.61, 36.65, 143.42°)
OKLaboklab(33.18% -0.0791 0.0515)
OKLCHoklch(33.18% 0.094 146.9)
XYZxyz(2.1460, 3.9826, 1.3649)
Luminance0.0398 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#054215 #420532
analogous
#144205 #054215 #054234
triadic
#054215 #150542 #421505
tetradic
#054215 #051442 #420532 #423405
square
#054215 #051442 #420532 #423405
split-complementary
#054215 #340542 #420514
monochromatic
#021C09 #021C09 #054215 #097B27 #0EB439

Accessibility & contrast

On white

11.69
#054215 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#054215 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #054215
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##054215#FFFFFF#000000##FFFFFF
##0542151.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B10
Deuteranopia (green-blind)
#3C3619
Tritanopia (blue-blind)
#004038
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #054215;
/* rgb */ color: rgb(5, 66, 21);
/* oklch */ color: oklch(33.2% 0.094 146.9);
Tailwind
colors: {
  custom: {
    50: '#537754',
    500: '#054215',
    950: '#000000',
  },
}
SCSS
$custom: #054215;
$custom-light: #537754;
$custom-dark: #000000;
JSON
{
  "hex": "#054215",
  "rgb": {
    "r": 5,
    "g": 66,
    "b": 21
  },
  "hsl": {
    "h": 135.738,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.33176,
    "c": 0.09436,
    "h": 146.9
  },
  "luminance": 0.03983
}

Semantic roles & 50–950 ramp

primary
#054215
secondary
#822069
accent
#2CC5FC
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030903
muted
#787B78

Preview Lab

Preview with #054215

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

Preview Lab → · Contrast checker → · Palette generator →

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