#054208#054208

#054208 is a dark, moderate green. Relative luminance 0.039; OKLCH L 33.0% C 0.105 H 143.3°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#054208
RGBrgb(5, 66, 8)
HSLhsl(123, 86%, 14%)
HSVhsv(123, 92%, 26%)
CMYKcmyk(92.4%, 0%, 87.9%, 74.1%)
CIE-LABlab(23.49, -30.94, 27.87)
CIE-LCHlch(23.49, 41.65, 137.99°)
OKLaboklab(33.03% -0.0838 0.0625)
OKLCHoklch(33.03% 0.105 143.3)
XYZxyz(2.0545, 3.9460, 0.8830)
Luminance0.0395 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#054208 #42053F
analogous
#214205 #054208 #054227
triadic
#054208 #080542 #420805
tetradic
#054208 #052142 #42053F #422705
square
#054208 #052142 #42053F #422705
split-complementary
#054208 #270542 #420521
monochromatic
#021C03 #021C03 #054208 #097B0F #0EB416

Accessibility & contrast

On white

11.74
#054208 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #054208
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##054208#FFFFFF#000000##FFFFFF
##0542081.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B00
Deuteranopia (green-blind)
#3D360F
Tritanopia (blue-blind)
#004037
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #054208;
/* rgb */ color: rgb(5, 66, 8);
/* oklch */ color: oklch(33.0% 0.105 143.3);
Tailwind
colors: {
  custom: {
    50: '#53774c',
    500: '#054208',
    950: '#000000',
  },
}
SCSS
$custom: #054208;
$custom-light: #53774c;
$custom-dark: #000000;
JSON
{
  "hex": "#054208",
  "rgb": {
    "r": 5,
    "g": 66,
    "b": 8
  },
  "hsl": {
    "h": 122.951,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.33035,
    "c": 0.10452,
    "h": 143.3
  },
  "luminance": 0.03946
}

Semantic roles & 50–950 ramp

primary
#054208
secondary
#82207E
accent
#2CF2FC
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030901
muted
#787B77

Preview Lab

Preview with #054208

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

Preview Lab → · Contrast checker → · Palette generator →

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