#054117#054117

#054117 is a dark, moderate green. Relative luminance 0.039; OKLCH L 32.9% C 0.091 H 147.9°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#054117
RGBrgb(5, 65, 23)
HSLhsl(138, 86%, 14%)
HSVhsv(138, 92%, 25%)
CMYKcmyk(92.3%, 0%, 64.6%, 74.5%)
CIE-LABlab(23.25, -28.72, 20.30)
CIE-LCHlch(23.25, 35.17, 144.75°)
OKLaboklab(32.88% -0.0771 0.0483)
OKLCHoklch(32.88% 0.091 147.9)
XYZxyz(2.1074, 3.8745, 1.4472)
Luminance0.0387 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#054117 #41052F
analogous
#114105 #054117 #054135
triadic
#054117 #170541 #411705
tetradic
#054117 #051141 #41052F #413505
square
#054117 #051141 #41052F #413505
split-complementary
#054117 #350541 #410511
monochromatic
#021C0A #021C0A #054117 #097A2B #0EB33F

Accessibility & contrast

On white

11.83
#054117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#054117 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #054117
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##054117#FFFFFF#000000##FFFFFF
##0541171.0011.831.7811.83
#FFFFFF11.831.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A13
Deuteranopia (green-blind)
#3B361A
Tritanopia (blue-blind)
#003F38
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #054117;
/* rgb */ color: rgb(5, 65, 23);
/* oklch */ color: oklch(32.9% 0.091 147.9);
Tailwind
colors: {
  custom: {
    50: '#527655',
    500: '#054117',
    950: '#000000',
  },
}
SCSS
$custom: #054117;
$custom-light: #527655;
$custom-dark: #000000;
JSON
{
  "hex": "#054117",
  "rgb": {
    "r": 5,
    "g": 65,
    "b": 23
  },
  "hsl": {
    "h": 138,
    "s": 85.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.32884,
    "c": 0.091,
    "h": 147.9
  },
  "luminance": 0.03875
}

Semantic roles & 50–950 ramp

primary
#054117
secondary
#812064
accent
#2CBEFC
background
#F4F7F5
surface
#E8EDE9
border
#C4C8C5
text
#030803
muted
#787B78

Preview Lab

Preview with #054117

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

Preview Lab → · Contrast checker → · Palette generator →

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