#54852C#54852C

#54852C is a mid, vivid yellow-green. Relative luminance 0.188; OKLCH L 56.2% C 0.131 H 133.6°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#54852C
RGBrgb(84, 133, 44)
HSLhsl(93, 50%, 35%)
HSVhsv(93, 67%, 52%)
CMYKcmyk(36.8%, 0%, 66.9%, 47.8%)
CIE-LABlab(50.50, -32.39, 41.35)
CIE-LCHlch(50.50, 52.53, 128.06°)
OKLaboklab(56.23% -0.0905 0.095)
OKLCHoklch(56.23% 0.131 133.6)
XYZxyz(12.4981, 18.8412, 5.3606)
Luminance0.1884 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54852C #5D2C85
analogous
#80852C #54852C #2C8531
triadic
#54852C #2C5485 #852C54
tetradic
#54852C #2C8085 #5D2C85 #85312C
square
#54852C #2C8085 #5D2C85 #85312C
split-complementary
#54852C #312C85 #852C80
monochromatic
#1A290E #37571D #54852C #71B33B #90CB61

Accessibility & contrast

On white

4.40
#54852C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#54852C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54852C
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54852C#FFFFFF#000000##000000
##54852C1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B21
Deuteranopia (green-blind)
#837733
Tritanopia (blue-blind)
#548073
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #54852c;
/* rgb */ color: rgb(84, 133, 44);
/* oklch */ color: oklch(56.2% 0.131 133.6);
Tailwind
colors: {
  custom: {
    50: '#88a96a',
    500: '#54852c',
    950: '#000000',
  },
}
SCSS
$custom: #54852c;
$custom-light: #88a96a;
$custom-dark: #000000;
JSON
{
  "hex": "#54852c",
  "rgb": {
    "r": 84,
    "g": 133,
    "b": 44
  },
  "hsl": {
    "h": 93.034,
    "s": 50.282,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56233,
    "c": 0.13119,
    "h": 133.6
  },
  "luminance": 0.18842
}

Semantic roles & 50–950 ramp

primary
#54852C
secondary
#8B5CB1
accent
#4EDA9B
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #54852C

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

Preview Lab → · Contrast checker → · Palette generator →

#54852C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva