#054118#054118

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

Color values

HEX#054118
RGBrgb(5, 65, 24)
HSLhsl(139, 86%, 14%)
HSVhsv(139, 92%, 25%)
CMYKcmyk(92.3%, 0%, 63.1%, 74.5%)
CIE-LABlab(23.27, -28.56, 19.74)
CIE-LCHlch(23.27, 34.72, 145.34°)
OKLaboklab(32.9% -0.0766 0.0472)
OKLCHoklch(32.9% 0.09 148.4)
XYZxyz(2.1176, 3.8785, 1.5010)
Luminance0.0388 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#054118 #41052E
analogous
#104105 #054118 #054136
triadic
#054118 #180541 #411805
tetradic
#054118 #051041 #41052E #413605
square
#054118 #051041 #41052E #413605
split-complementary
#054118 #360541 #410510
monochromatic
#021C0A #021C0A #054118 #097A2D #0EB342

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##054118#FFFFFF#000000##FFFFFF
##0541181.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)
#423A14
Deuteranopia (green-blind)
#3B361B
Tritanopia (blue-blind)
#003F38
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #054118;
/* rgb */ color: rgb(5, 65, 24);
/* oklch */ color: oklch(32.9% 0.090 148.4);
Tailwind
colors: {
  custom: {
    50: '#527656',
    500: '#054118',
    950: '#000000',
  },
}
SCSS
$custom: #054118;
$custom-light: #527656;
$custom-dark: #000000;
JSON
{
  "hex": "#054118",
  "rgb": {
    "r": 5,
    "g": 65,
    "b": 24
  },
  "hsl": {
    "h": 139,
    "s": 85.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.329,
    "c": 0.09001,
    "h": 148.4
  },
  "luminance": 0.03879
}

Semantic roles & 50–950 ramp

primary
#054118
secondary
#812063
accent
#2CBAFC
background
#F4F7F5
surface
#E8EDE9
border
#C4C8C5
text
#030803
muted
#787B78

Preview Lab

Preview with #054118

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

Preview Lab → · Contrast checker → · Palette generator →

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