#54841D#54841D

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

Color values

HEX#54841D
RGBrgb(84, 132, 29)
HSLhsl(88, 64%, 32%)
HSVhsv(88, 78%, 52%)
CMYKcmyk(36.4%, 0%, 78%, 48.2%)
CIE-LABlab(50.07, -33.05, 46.93)
CIE-LCHlch(50.07, 57.40, 125.15°)
OKLaboklab(55.85% -0.0935 0.1045)
OKLCHoklch(55.85% 0.14 131.8)
XYZxyz(12.1291, 18.4756, 4.0892)
Luminance0.1848 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54841D #4D1D84
analogous
#84811D #54841D #21841D
triadic
#54841D #1D5484 #841D54
tetradic
#54841D #1D8481 #4D1D84 #841D21
square
#54841D #1D8481 #4D1D84 #841D21
split-complementary
#54841D #1D2184 #811D84
monochromatic
#142007 #345212 #54841D #74B628 #93D645

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54841D#FFFFFF#000000##000000
##54841D1.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)
#8A7905
Deuteranopia (green-blind)
#837628
Tritanopia (blue-blind)
#557E71
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #54841d;
/* rgb */ color: rgb(84, 132, 29);
/* oklch */ color: oklch(55.8% 0.140 131.8);
Tailwind
colors: {
  custom: {
    50: '#89a861',
    500: '#54841d',
    950: '#000000',
  },
}
SCSS
$custom: #54841d;
$custom-light: #89a861;
$custom-dark: #000000;
JSON
{
  "hex": "#54841d",
  "rgb": {
    "r": 84,
    "g": 132,
    "b": 29
  },
  "hsl": {
    "h": 87.961,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55845,
    "c": 0.14018,
    "h": 131.8
  },
  "luminance": 0.18476
}

Semantic roles & 50–950 ramp

primary
#54841D
secondary
#7B46B7
accent
#41E78E
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #54841D

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

Preview Lab → · Contrast checker → · Palette generator →

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