#54802E#54802E

#54802E is a mid, vivid yellow-green. Relative luminance 0.175; OKLCH L 54.9% C 0.122 H 133.0°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#54802E
RGBrgb(84, 128, 46)
HSLhsl(92, 47%, 34%)
HSVhsv(92, 64%, 50%)
CMYKcmyk(34.4%, 0%, 64.1%, 49.8%)
CIE-LABlab(48.91, -29.87, 38.70)
CIE-LCHlch(48.91, 48.89, 127.66°)
OKLaboklab(54.94% -0.0834 0.0896)
OKLCHoklch(54.94% 0.122 133)
XYZxyz(11.8683, 17.5200, 5.3406)
Luminance0.1752 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54802E #5A2E80
analogous
#7D802E #54802E #2E8031
triadic
#54802E #2E5480 #802E54
tetradic
#54802E #2E7D80 #5A2E80 #80312E
square
#54802E #2E7D80 #5A2E80 #80312E
split-complementary
#54802E #312E80 #802E7D
monochromatic
#19260E #36531E #54802E #72AD3E #91C762

Accessibility & contrast

On white

4.66
#54802E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#54802E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #54802E
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54802E#FFFFFF#000000##FFFFFF
##54802E1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857624
Deuteranopia (green-blind)
#7F7334
Tritanopia (blue-blind)
#557B6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #54802e;
/* rgb */ color: rgb(84, 128, 46);
/* oklch */ color: oklch(54.9% 0.122 133.0);
Tailwind
colors: {
  custom: {
    50: '#87a56a',
    500: '#54802e',
    950: '#000000',
  },
}
SCSS
$custom: #54802e;
$custom-light: #87a56a;
$custom-dark: #000000;
JSON
{
  "hex": "#54802e",
  "rgb": {
    "r": 84,
    "g": 128,
    "b": 46
  },
  "hsl": {
    "h": 92.195,
    "s": 47.126,
    "l": 34.118
  },
  "oklch": {
    "l": 0.54942,
    "c": 0.12244,
    "h": 133
  },
  "luminance": 0.1752
}

Semantic roles & 50–950 ramp

primary
#54802E
secondary
#885DAD
accent
#51D799
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F07
muted
#7D7F7A

Preview Lab

Preview with #54802E

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

Preview Lab → · Contrast checker → · Palette generator →

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