#54821E#54821E

#54821E is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 55.3% C 0.137 H 131.5°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#54821E
RGBrgb(84, 130, 30)
HSLhsl(88, 63%, 31%)
HSVhsv(88, 77%, 51%)
CMYKcmyk(35.4%, 0%, 76.9%, 49%)
CIE-LABlab(49.43, -32.07, 45.96)
CIE-LCHlch(49.43, 56.04, 124.91°)
OKLaboklab(55.32% -0.0908 0.1026)
OKLCHoklch(55.32% 0.137 131.5)
XYZxyz(11.8730, 17.9434, 4.0659)
Luminance0.1794 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54821E #4C1E82
analogous
#827E1E #54821E #22821E
triadic
#54821E #1E5482 #821E54
tetradic
#54821E #1E827E #4C1E82 #821E22
square
#54821E #1E827E #4C1E82 #821E22
split-complementary
#54821E #1E2282 #7E1E82
monochromatic
#141F07 #345013 #54821E #74B429 #93D446

Accessibility & contrast

On white

4.58
#54821E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#54821E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54821E
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54821E#FFFFFF#000000##000000
##54821E1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#887808
Deuteranopia (green-blind)
#827428
Tritanopia (blue-blind)
#557C6F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #54821e;
/* rgb */ color: rgb(84, 130, 30);
/* oklch */ color: oklch(55.3% 0.137 131.5);
Tailwind
colors: {
  custom: {
    50: '#88a662',
    500: '#54821e',
    950: '#000000',
  },
}
SCSS
$custom: #54821e;
$custom-light: #88a662;
$custom-dark: #000000;
JSON
{
  "hex": "#54821e",
  "rgb": {
    "r": 84,
    "g": 130,
    "b": 30
  },
  "hsl": {
    "h": 87.6,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55324,
    "c": 0.13697,
    "h": 131.5
  },
  "luminance": 0.17944
}

Semantic roles & 50–950 ramp

primary
#54821E
secondary
#7947B5
accent
#42E68D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #54821E

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

Preview Lab → · Contrast checker → · Palette generator →

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