#54801C#54801C

#54801C is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.8% C 0.136 H 130.9°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#54801C
RGBrgb(84, 128, 28)
HSLhsl(86, 64%, 31%)
HSVhsv(86, 78%, 50%)
CMYKcmyk(34.4%, 0%, 78.1%, 49.8%)
CIE-LABlab(48.77, -31.27, 46.04)
CIE-LCHlch(48.77, 55.65, 124.18°)
OKLaboklab(54.78% -0.0887 0.1024)
OKLCHoklch(54.78% 0.136 130.9)
XYZxyz(11.5848, 17.4066, 3.8478)
Luminance0.1741 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54801C #481C80
analogous
#807A1C #54801C #22801C
triadic
#54801C #1C5480 #801C54
tetradic
#54801C #1C807A #481C80 #801C22
square
#54801C #1C807A #481C80 #801C22
split-complementary
#54801C #1C2280 #7A1C80
monochromatic
#121C06 #334E11 #54801C #75B227 #94D541

Accessibility & contrast

On white

4.69
#54801C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#54801C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #54801C
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54801C#FFFFFF#000000##FFFFFF
##54801C1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867605
Deuteranopia (green-blind)
#807326
Tritanopia (blue-blind)
#567A6D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #54801c;
/* rgb */ color: rgb(84, 128, 28);
/* oklch */ color: oklch(54.8% 0.136 130.9);
Tailwind
colors: {
  custom: {
    50: '#88a560',
    500: '#54801c',
    950: '#000000',
  },
}
SCSS
$custom: #54801c;
$custom-light: #88a560;
$custom-dark: #000000;
JSON
{
  "hex": "#54801c",
  "rgb": {
    "r": 84,
    "g": 128,
    "b": 28
  },
  "hsl": {
    "h": 86.4,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54783,
    "c": 0.13552,
    "h": 130.9
  },
  "luminance": 0.17407
}

Semantic roles & 50–950 ramp

primary
#54801C
secondary
#7544B3
accent
#41E78A
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #54801C

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

Preview Lab → · Contrast checker → · Palette generator →

#54801C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva