#54852A#54852A

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

Color values

HEX#54852A
RGBrgb(84, 133, 42)
HSLhsl(92, 52%, 34%)
HSVhsv(92, 68%, 52%)
CMYKcmyk(36.8%, 0%, 68.4%, 47.8%)
CIE-LABlab(50.48, -32.56, 42.22)
CIE-LCHlch(50.48, 53.31, 127.64°)
OKLaboklab(56.21% -0.0911 0.0965)
OKLCHoklch(56.21% 0.133 133.4)
XYZxyz(12.4614, 18.8265, 5.1673)
Luminance0.1883 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54852A #5B2A85
analogous
#82852A #54852A #2A852E
triadic
#54852A #2A5485 #852A54
tetradic
#54852A #2A8285 #5B2A85 #852E2A
square
#54852A #2A8285 #5B2A85 #852E2A
split-complementary
#54852A #2E2A85 #852A82
monochromatic
#19280D #37561B #54852A #71B439 #90CC5D

Accessibility & contrast

On white

4.41
#54852A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##54852A#FFFFFF#000000##000000
##54852A1.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B1E
Deuteranopia (green-blind)
#847732
Tritanopia (blue-blind)
#548072
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #54852a;
/* rgb */ color: rgb(84, 133, 42);
/* oklch */ color: oklch(56.2% 0.133 133.4);
Tailwind
colors: {
  custom: {
    50: '#88a968',
    500: '#54852a',
    950: '#000000',
  },
}
SCSS
$custom: #54852a;
$custom-light: #88a968;
$custom-dark: #000000;
JSON
{
  "hex": "#54852a",
  "rgb": {
    "r": 84,
    "g": 133,
    "b": 42
  },
  "hsl": {
    "h": 92.308,
    "s": 52,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56214,
    "c": 0.13275,
    "h": 133.4
  },
  "luminance": 0.18827
}

Semantic roles & 50–950 ramp

primary
#54852A
secondary
#8959B2
accent
#4CDB99
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #54852A

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

Preview Lab → · Contrast checker → · Palette generator →

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