#54851D#54851D

#54851D is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 56.1% C 0.141 H 132.0°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#54851D
RGBrgb(84, 133, 29)
HSLhsl(88, 64%, 32%)
HSVhsv(88, 78%, 52%)
CMYKcmyk(36.8%, 0%, 78.2%, 47.8%)
CIE-LABlab(50.39, -33.50, 47.24)
CIE-LCHlch(50.39, 57.92, 125.34°)
OKLaboklab(56.11% -0.0947 0.1051)
OKLCHoklch(56.11% 0.141 132)
XYZxyz(12.2653, 18.7481, 4.1347)
Luminance0.1875 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54851D #4E1D85
analogous
#85821D #54851D #20851D
triadic
#54851D #1D5485 #851D54
tetradic
#54851D #1D8582 #4E1D85 #851D20
square
#54851D #1D8582 #4E1D85 #851D20
split-complementary
#54851D #1D2085 #821D85
monochromatic
#152107 #345312 #54851D #74B728 #92D746

Accessibility & contrast

On white

4.42
#54851D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#54851D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54851D
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54851D#FFFFFF#000000##000000
##54851D1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A04
Deuteranopia (green-blind)
#847728
Tritanopia (blue-blind)
#557F71
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #54851d;
/* rgb */ color: rgb(84, 133, 29);
/* oklch */ color: oklch(56.1% 0.141 132.0);
Tailwind
colors: {
  custom: {
    50: '#89a962',
    500: '#54851d',
    950: '#000000',
  },
}
SCSS
$custom: #54851d;
$custom-light: #89a962;
$custom-dark: #000000;
JSON
{
  "hex": "#54851d",
  "rgb": {
    "r": 84,
    "g": 133,
    "b": 29
  },
  "hsl": {
    "h": 88.269,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56109,
    "c": 0.14149,
    "h": 132
  },
  "luminance": 0.18749
}

Semantic roles & 50–950 ramp

primary
#54851D
secondary
#7C46B8
accent
#41E78F
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #54851D

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

Preview Lab → · Contrast checker → · Palette generator →

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