#054115#054115

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

Color values

HEX#054115
RGBrgb(5, 65, 21)
HSLhsl(136, 86%, 14%)
HSVhsv(136, 92%, 25%)
CMYKcmyk(92.3%, 0%, 67.7%, 74.5%)
CIE-LABlab(23.23, -29.04, 21.39)
CIE-LCHlch(23.23, 36.07, 143.62°)
OKLaboklab(32.85% -0.078 0.0505)
OKLCHoklch(32.85% 0.093 147.1)
XYZxyz(2.0881, 3.8667, 1.3456)
Luminance0.0387 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#054115 #410531
analogous
#134105 #054115 #054133
triadic
#054115 #150541 #411505
tetradic
#054115 #051341 #410531 #413305
square
#054115 #051341 #410531 #413305
split-complementary
#054115 #330541 #410513
monochromatic
#021C09 #021C09 #054115 #097A27 #0EB33A

Accessibility & contrast

On white

11.84
#054115 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#054115 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #054115
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##054115#FFFFFF#000000##FFFFFF
##0541151.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A10
Deuteranopia (green-blind)
#3B3619
Tritanopia (blue-blind)
#003F37
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #054115;
/* rgb */ color: rgb(5, 65, 21);
/* oklch */ color: oklch(32.9% 0.093 147.1);
Tailwind
colors: {
  custom: {
    50: '#527654',
    500: '#054115',
    950: '#000000',
  },
}
SCSS
$custom: #054115;
$custom-light: #527654;
$custom-dark: #000000;
JSON
{
  "hex": "#054115",
  "rgb": {
    "r": 5,
    "g": 65,
    "b": 21
  },
  "hsl": {
    "h": 136,
    "s": 85.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.32854,
    "c": 0.09294,
    "h": 147.1
  },
  "luminance": 0.03867
}

Semantic roles & 50–950 ramp

primary
#054115
secondary
#812068
accent
#2CC4FC
background
#F5F7F4
surface
#E8EDE7
border
#C4C8C3
text
#030803
muted
#787B78

Preview Lab

Preview with #054115

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

Preview Lab → · Contrast checker → · Palette generator →

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