#054608#054608

#054608 is a dark, moderate green. Relative luminance 0.044; OKLCH L 34.3% C 0.109 H 143.2°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#054608
RGBrgb(5, 70, 8)
HSLhsl(123, 87%, 15%)
HSVhsv(123, 93%, 27%)
CMYKcmyk(92.9%, 0%, 88.6%, 72.5%)
CIE-LABlab(25.04, -32.37, 29.40)
CIE-LCHlch(25.04, 43.72, 137.76°)
OKLaboklab(34.33% -0.0877 0.0656)
OKLCHoklch(34.33% 0.109 143.2)
XYZxyz(2.2964, 4.4298, 0.9637)
Luminance0.0443 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#054608 #460543
analogous
#234605 #054608 #054629
triadic
#054608 #080546 #460805
tetradic
#054608 #052346 #460543 #462905
square
#054608 #052346 #460543 #462905
split-complementary
#054608 #290546 #460523
monochromatic
#021D03 #021D03 #054608 #097F0F #0DB815

Accessibility & contrast

On white

11.13
#054608 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#054608 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #054608
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##054608#FFFFFF#000000##FFFFFF
##0546081.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483E00
Deuteranopia (green-blind)
#413A0F
Tritanopia (blue-blind)
#00443B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #054608;
/* rgb */ color: rgb(5, 70, 8);
/* oklch */ color: oklch(34.3% 0.109 143.2);
Tailwind
colors: {
  custom: {
    50: '#557a4d',
    500: '#054608',
    950: '#000000',
  },
}
SCSS
$custom: #054608;
$custom-light: #557a4d;
$custom-dark: #000000;
JSON
{
  "hex": "#054608",
  "rgb": {
    "r": 5,
    "g": 70,
    "b": 8
  },
  "hsl": {
    "h": 122.769,
    "s": 86.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.34328,
    "c": 0.10948,
    "h": 143.2
  },
  "luminance": 0.0443
}

Semantic roles & 50–950 ramp

primary
#054608
secondary
#862181
accent
#2BF3FD
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#030901
muted
#787B77

Preview Lab

Preview with #054608

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

Preview Lab → · Contrast checker → · Palette generator →

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