#54841E#54841E

#54841E is a mid, vivid yellow-green. Relative luminance 0.185; OKLCH L 55.9% C 0.140 H 131.9°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#54841E
RGBrgb(84, 132, 30)
HSLhsl(88, 63%, 32%)
HSVhsv(88, 77%, 52%)
CMYKcmyk(36.4%, 0%, 77.3%, 48.2%)
CIE-LABlab(50.07, -32.99, 46.58)
CIE-LCHlch(50.07, 57.08, 125.30°)
OKLaboklab(55.85% -0.0932 0.1039)
OKLCHoklch(55.85% 0.14 131.9)
XYZxyz(12.1416, 18.4806, 4.1554)
Luminance0.1848 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54841E #4E1E84
analogous
#84811E #54841E #21841E
triadic
#54841E #1E5484 #841E54
tetradic
#54841E #1E8481 #4E1E84 #841E21
square
#54841E #1E8481 #4E1E84 #841E21
split-complementary
#54841E #1E2184 #811E84
monochromatic
#152007 #345213 #54841E #74B629 #92D547

Accessibility & contrast

On white

4.47
#54841E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#54841E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54841E
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54841E#FFFFFF#000000##000000
##54841E1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7907
Deuteranopia (green-blind)
#837628
Tritanopia (blue-blind)
#557E71
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #54841e;
/* rgb */ color: rgb(84, 132, 30);
/* oklch */ color: oklch(55.9% 0.140 131.9);
Tailwind
colors: {
  custom: {
    50: '#88a862',
    500: '#54841e',
    950: '#000000',
  },
}
SCSS
$custom: #54841e;
$custom-light: #88a862;
$custom-dark: #000000;
JSON
{
  "hex": "#54841e",
  "rgb": {
    "r": 84,
    "g": 132,
    "b": 30
  },
  "hsl": {
    "h": 88.235,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55852,
    "c": 0.13959,
    "h": 131.9
  },
  "luminance": 0.18481
}

Semantic roles & 50–950 ramp

primary
#54841E
secondary
#7C47B7
accent
#42E68F
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #54841E

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

Preview Lab → · Contrast checker → · Palette generator →

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