#54801D#54801D

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

Color values

HEX#54801D
RGBrgb(84, 128, 29)
HSLhsl(87, 63%, 31%)
HSVhsv(87, 77%, 50%)
CMYKcmyk(34.4%, 0%, 77.3%, 49.8%)
CIE-LABlab(48.77, -31.21, 45.69)
CIE-LCHlch(48.77, 55.33, 124.34°)
OKLaboklab(54.79% -0.0885 0.1018)
OKLCHoklch(54.79% 0.135 131)
XYZxyz(11.5970, 17.4115, 3.9119)
Luminance0.1741 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54801D #491D80
analogous
#807A1D #54801D #22801D
triadic
#54801D #1D5480 #801D54
tetradic
#54801D #1D807A #491D80 #801D22
square
#54801D #1D807A #491D80 #801D22
split-complementary
#54801D #1D2280 #7A1D80
monochromatic
#131C06 #334E12 #54801D #75B228 #94D443

Accessibility & contrast

On white

4.68
#54801D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #54801D
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54801D#FFFFFF#000000##FFFFFF
##54801D1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #54801d;
/* rgb */ color: rgb(84, 128, 29);
/* oklch */ color: oklch(54.8% 0.135 131.0);
Tailwind
colors: {
  custom: {
    50: '#88a561',
    500: '#54801d',
    950: '#000000',
  },
}
SCSS
$custom: #54801d;
$custom-light: #88a561;
$custom-dark: #000000;
JSON
{
  "hex": "#54801d",
  "rgb": {
    "r": 84,
    "g": 128,
    "b": 29
  },
  "hsl": {
    "h": 86.667,
    "s": 63.057,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54789,
    "c": 0.13493,
    "h": 131
  },
  "luminance": 0.17412
}

Semantic roles & 50–950 ramp

primary
#54801D
secondary
#7645B3
accent
#42E68B
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #54801D

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

Preview Lab → · Contrast checker → · Palette generator →

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