#54851E#54851E

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

Color values

HEX#54851E
RGBrgb(84, 133, 30)
HSLhsl(89, 63%, 32%)
HSVhsv(89, 77%, 52%)
CMYKcmyk(36.8%, 0%, 77.4%, 47.8%)
CIE-LABlab(50.40, -33.44, 46.90)
CIE-LCHlch(50.40, 57.60, 125.49°)
OKLaboklab(56.12% -0.0945 0.1045)
OKLCHoklch(56.12% 0.141 132.1)
XYZxyz(12.2779, 18.7531, 4.2008)
Luminance0.1875 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54851E #4F1E85
analogous
#85831E #54851E #20851E
triadic
#54851E #1E5485 #851E54
tetradic
#54851E #1E8583 #4F1E85 #851E20
square
#54851E #1E8583 #4F1E85 #851E20
split-complementary
#54851E #1E2085 #831E85
monochromatic
#152107 #345313 #54851E #74B729 #92D648

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54851E#FFFFFF#000000##000000
##54851E1.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)
#8B7A07
Deuteranopia (green-blind)
#847728
Tritanopia (blue-blind)
#557F71
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #54851e;
/* rgb */ color: rgb(84, 133, 30);
/* oklch */ color: oklch(56.1% 0.141 132.1);
Tailwind
colors: {
  custom: {
    50: '#89a962',
    500: '#54851e',
    950: '#000000',
  },
}
SCSS
$custom: #54851e;
$custom-light: #89a962;
$custom-dark: #000000;
JSON
{
  "hex": "#54851e",
  "rgb": {
    "r": 84,
    "g": 133,
    "b": 30
  },
  "hsl": {
    "h": 88.544,
    "s": 63.19,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56115,
    "c": 0.14091,
    "h": 132.1
  },
  "luminance": 0.18754
}

Semantic roles & 50–950 ramp

primary
#54851E
secondary
#7D47B8
accent
#42E690
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #54851E

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

Preview Lab → · Contrast checker → · Palette generator →

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