#054213#054213

#054213 is a dark, moderate green. Relative luminance 0.040; OKLCH L 33.1% C 0.096 H 146.2°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#054213
RGBrgb(5, 66, 19)
HSLhsl(134, 86%, 14%)
HSVhsv(134, 92%, 26%)
CMYKcmyk(92.4%, 0%, 71.2%, 74.1%)
CIE-LABlab(23.59, -29.72, 22.89)
CIE-LCHlch(23.59, 37.51, 142.40°)
OKLaboklab(33.15% -0.0799 0.0535)
OKLCHoklch(33.15% 0.096 146.2)
XYZxyz(2.1282, 3.9754, 1.2711)
Luminance0.0398 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#054213 #420534
analogous
#164205 #054213 #054232
triadic
#054213 #130542 #421305
tetradic
#054213 #051642 #420534 #423205
square
#054213 #051642 #420534 #423205
split-complementary
#054213 #320542 #420516
monochromatic
#021C08 #021C08 #054213 #097B23 #0EB434

Accessibility & contrast

On white

11.70
#054213 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #054213
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##054213#FFFFFF#000000##FFFFFF
##0542131.0011.701.8011.70
#FFFFFF11.701.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #054213;
/* rgb */ color: rgb(5, 66, 19);
/* oklch */ color: oklch(33.1% 0.096 146.2);
Tailwind
colors: {
  custom: {
    50: '#537753',
    500: '#054213',
    950: '#000000',
  },
}
SCSS
$custom: #054213;
$custom-light: #537753;
$custom-dark: #000000;
JSON
{
  "hex": "#054213",
  "rgb": {
    "r": 5,
    "g": 66,
    "b": 19
  },
  "hsl": {
    "h": 133.77,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.33149,
    "c": 0.0962,
    "h": 146.2
  },
  "luminance": 0.03976
}

Semantic roles & 50–950 ramp

primary
#054213
secondary
#82206C
accent
#2CCCFC
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030902
muted
#787B78

Preview Lab

Preview with #054213

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

Preview Lab → · Contrast checker → · Palette generator →

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