#054718#054718

#054718 is a dark, moderate green. Relative luminance 0.046; OKLCH L 34.8% C 0.099 H 147.4°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#054718
RGBrgb(5, 71, 24)
HSLhsl(137, 87%, 15%)
HSVhsv(137, 93%, 28%)
CMYKcmyk(93%, 0%, 66.2%, 72.2%)
CIE-LABlab(25.58, -30.90, 22.47)
CIE-LCHlch(25.58, 38.21, 143.97°)
OKLaboklab(34.82% -0.083 0.0531)
OKLCHoklch(34.82% 0.099 147.4)
XYZxyz(2.4805, 4.6044, 1.6220)
Luminance0.0461 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#054718 #470534
analogous
#134705 #054718 #054739
triadic
#054718 #180547 #471805
tetradic
#054718 #051347 #470534 #473905
square
#054718 #051347 #470534 #473905
split-complementary
#054718 #390547 #470513
monochromatic
#021D0A #021D0A #054718 #09802B #0DB93F

Accessibility & contrast

On white

10.93
#054718 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#054718 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #054718
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##054718#FFFFFF#000000##FFFFFF
##0547181.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484013
Deuteranopia (green-blind)
#413B1C
Tritanopia (blue-blind)
#00453D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #054718;
/* rgb */ color: rgb(5, 71, 24);
/* oklch */ color: oklch(34.8% 0.099 147.4);
Tailwind
colors: {
  custom: {
    50: '#547b56',
    500: '#054718',
    950: '#000000',
  },
}
SCSS
$custom: #054718;
$custom-light: #547b56;
$custom-dark: #000000;
JSON
{
  "hex": "#054718",
  "rgb": {
    "r": 5,
    "g": 71,
    "b": 24
  },
  "hsl": {
    "h": 137.273,
    "s": 86.842,
    "l": 14.902
  },
  "oklch": {
    "l": 0.34818,
    "c": 0.09853,
    "h": 147.4
  },
  "luminance": 0.04605
}

Semantic roles & 50–950 ramp

primary
#054718
secondary
#87216A
accent
#2BC0FD
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#030903
muted
#787B78

Preview Lab

Preview with #054718

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

Preview Lab → · Contrast checker → · Palette generator →

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