#54841F#54841F

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

Color values

HEX#54841F
RGBrgb(84, 132, 31)
HSLhsl(89, 62%, 32%)
HSVhsv(89, 77%, 52%)
CMYKcmyk(36.4%, 0%, 76.5%, 48.2%)
CIE-LABlab(50.08, -32.92, 46.23)
CIE-LCHlch(50.08, 56.75, 125.46°)
OKLaboklab(55.86% -0.093 0.1033)
OKLCHoklch(55.86% 0.139 132)
XYZxyz(12.1546, 18.4858, 4.2238)
Luminance0.1849 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54841F #4F1F84
analogous
#84821F #54841F #22841F
triadic
#54841F #1F5484 #841F54
tetradic
#54841F #1F8482 #4F1F84 #841F22
square
#54841F #1F8482 #4F1F84 #841F22
split-complementary
#54841F #1F2284 #821F84
monochromatic
#152108 #345213 #54841F #74B62B #92D449

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54841F#FFFFFF#000000##000000
##54841F1.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)
#8A7A0A
Deuteranopia (green-blind)
#837629
Tritanopia (blue-blind)
#557E71
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #54841f;
/* rgb */ color: rgb(84, 132, 31);
/* oklch */ color: oklch(55.9% 0.139 132.0);
Tailwind
colors: {
  custom: {
    50: '#88a862',
    500: '#54841f',
    950: '#000000',
  },
}
SCSS
$custom: #54841f;
$custom-light: #88a862;
$custom-dark: #000000;
JSON
{
  "hex": "#54841f",
  "rgb": {
    "r": 84,
    "g": 132,
    "b": 31
  },
  "hsl": {
    "h": 88.515,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55859,
    "c": 0.139,
    "h": 132
  },
  "luminance": 0.18486
}

Semantic roles & 50–950 ramp

primary
#54841F
secondary
#7D48B7
accent
#43E590
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #54841F

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

Preview Lab → · Contrast checker → · Palette generator →

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