#54801E#54801E

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

Color values

HEX#54801E
RGBrgb(84, 128, 30)
HSLhsl(87, 62%, 31%)
HSVhsv(87, 77%, 50%)
CMYKcmyk(34.4%, 0%, 76.6%, 49.8%)
CIE-LABlab(48.78, -31.14, 45.33)
CIE-LCHlch(48.78, 54.99, 124.49°)
OKLaboklab(54.8% -0.0883 0.1013)
OKLCHoklch(54.8% 0.134 131.1)
XYZxyz(11.6096, 17.4165, 3.9781)
Luminance0.1742 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54801E #4A1E80
analogous
#807B1E #54801E #23801E
triadic
#54801E #1E5480 #801E54
tetradic
#54801E #1E807B #4A1E80 #801E23
square
#54801E #1E807B #4A1E80 #801E23
split-complementary
#54801E #1E2380 #7B1E80
monochromatic
#131D07 #334E12 #54801E #75B22A #93D345

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #54801e;
/* rgb */ color: rgb(84, 128, 30);
/* oklch */ color: oklch(54.8% 0.134 131.1);
Tailwind
colors: {
  custom: {
    50: '#88a561',
    500: '#54801e',
    950: '#000000',
  },
}
SCSS
$custom: #54801e;
$custom-light: #88a561;
$custom-dark: #000000;
JSON
{
  "hex": "#54801e",
  "rgb": {
    "r": 84,
    "g": 128,
    "b": 30
  },
  "hsl": {
    "h": 86.939,
    "s": 62.025,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54796,
    "c": 0.13432,
    "h": 131.1
  },
  "luminance": 0.17417
}

Semantic roles & 50–950 ramp

primary
#54801E
secondary
#7747B3
accent
#43E58C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #54801E

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

Preview Lab → · Contrast checker → · Palette generator →

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