#054205#054205

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

Color values

HEX#054205
RGBrgb(5, 66, 5)
HSLhsl(120, 86%, 14%)
HSVhsv(120, 92%, 26%)
CMYKcmyk(92.4%, 0%, 92.4%, 74.1%)
CIE-LABlab(23.47, -31.22, 29.07)
CIE-LCHlch(23.47, 42.66, 137.04°)
OKLaboklab(33.01% -0.0847 0.0646)
OKLCHoklch(33.01% 0.107 142.7)
XYZxyz(2.0381, 3.9394, 0.7965)
Luminance0.0394 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#054205 #420542
analogous
#244205 #054205 #054224
triadic
#054205 #050542 #420505
tetradic
#054205 #052442 #420542 #422405
square
#054205 #052442 #420542 #422405
split-complementary
#054205 #240542 #420524
monochromatic
#021C02 #021C02 #054205 #097B09 #0EB40E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##054205#FFFFFF#000000##FFFFFF
##0542051.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)
#3D360C
Tritanopia (blue-blind)
#004037
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #054205;
/* rgb */ color: rgb(5, 66, 5);
/* oklch */ color: oklch(33.0% 0.107 142.7);
Tailwind
colors: {
  custom: {
    50: '#54774b',
    500: '#054205',
    950: '#000000',
  },
}
SCSS
$custom: #054205;
$custom-light: #54774b;
$custom-dark: #000000;
JSON
{
  "hex": "#054205",
  "rgb": {
    "r": 5,
    "g": 66,
    "b": 5
  },
  "hsl": {
    "h": 120,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.3301,
    "c": 0.10655,
    "h": 142.7
  },
  "luminance": 0.0394
}

Semantic roles & 50–950 ramp

primary
#054205
secondary
#822082
accent
#2CFCFC
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030901
muted
#787B77

Preview Lab

Preview with #054205

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

Preview Lab → · Contrast checker → · Palette generator →

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