#54801A#54801A

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

Color values

HEX#54801A
RGBrgb(84, 128, 26)
HSLhsl(86, 66%, 30%)
HSVhsv(86, 80%, 50%)
CMYKcmyk(34.4%, 0%, 79.7%, 49.8%)
CIE-LABlab(48.76, -31.38, 46.72)
CIE-LCHlch(48.76, 56.28, 123.89°)
OKLaboklab(54.77% -0.0892 0.1035)
OKLCHoklch(54.77% 0.137 130.8)
XYZxyz(11.5617, 17.3973, 3.7259)
Luminance0.1740 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54801A #461A80
analogous
#80791A #54801A #21801A
triadic
#54801A #1A5480 #801A54
tetradic
#54801A #1A8079 #461A80 #801A21
square
#54801A #1A8079 #461A80 #801A21
split-complementary
#54801A #1A2180 #791A80
monochromatic
#111A05 #334D10 #54801A #75B324 #95D83D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54801A#FFFFFF#000000##FFFFFF
##54801A1.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)
#867600
Deuteranopia (green-blind)
#807325
Tritanopia (blue-blind)
#567A6D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #54801a;
/* rgb */ color: rgb(84, 128, 26);
/* oklch */ color: oklch(54.8% 0.137 130.8);
Tailwind
colors: {
  custom: {
    50: '#88a560',
    500: '#54801a',
    950: '#000000',
  },
}
SCSS
$custom: #54801a;
$custom-light: #88a560;
$custom-dark: #000000;
JSON
{
  "hex": "#54801a",
  "rgb": {
    "r": 84,
    "g": 128,
    "b": 26
  },
  "hsl": {
    "h": 85.882,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.54769,
    "c": 0.13665,
    "h": 130.8
  },
  "luminance": 0.17398
}

Semantic roles & 50–950 ramp

primary
#54801A
secondary
#7342B4
accent
#3FE988
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #54801A

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

Preview Lab → · Contrast checker → · Palette generator →

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