#054015#054015

#054015 is a dark, moderate green. Relative luminance 0.038; OKLCH L 32.5% C 0.092 H 147.2°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#054015
RGBrgb(5, 64, 21)
HSLhsl(136, 86%, 14%)
HSVhsv(136, 92%, 25%)
CMYKcmyk(92.2%, 0%, 67.2%, 74.9%)
CIE-LABlab(22.84, -28.65, 20.94)
CIE-LCHlch(22.84, 35.48, 143.84°)
OKLaboklab(32.53% -0.077 0.0495)
OKLCHoklch(32.53% 0.092 147.2)
XYZxyz(2.0312, 3.7529, 1.3267)
Luminance0.0375 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#054015 #400530
analogous
#124005 #054015 #054032
triadic
#054015 #150540 #401505
tetradic
#054015 #051240 #400530 #403205
square
#054015 #051240 #400530 #403205
split-complementary
#054015 #320540 #400512
monochromatic
#021C09 #021C09 #054015 #097928 #0EB23A

Accessibility & contrast

On white

12.00
#054015 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#054015 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #054015
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##054015#FFFFFF#000000##FFFFFF
##0540151.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413911
Deuteranopia (green-blind)
#3A3519
Tritanopia (blue-blind)
#003E37
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #054015;
/* rgb */ color: rgb(5, 64, 21);
/* oklch */ color: oklch(32.5% 0.092 147.2);
Tailwind
colors: {
  custom: {
    50: '#527554',
    500: '#054015',
    950: '#000000',
  },
}
SCSS
$custom: #054015;
$custom-light: #527554;
$custom-dark: #000000;
JSON
{
  "hex": "#054015",
  "rgb": {
    "r": 5,
    "g": 64,
    "b": 21
  },
  "hsl": {
    "h": 136.271,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.32531,
    "c": 0.09152,
    "h": 147.2
  },
  "luminance": 0.03753
}

Semantic roles & 50–950 ramp

primary
#054015
secondary
#812066
accent
#2CC3FC
background
#F4F7F4
surface
#E7EDE7
border
#C3C8C3
text
#030802
muted
#787B78

Preview Lab

Preview with #054015

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

Preview Lab → · Contrast checker → · Palette generator →

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