#54842E#54842E

#54842E is a mid, vivid yellow-green. Relative luminance 0.186; OKLCH L 56.0% C 0.128 H 133.7°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#54842E
RGBrgb(84, 132, 46)
HSLhsl(93, 48%, 35%)
HSVhsv(93, 65%, 52%)
CMYKcmyk(36.4%, 0%, 65.2%, 48.2%)
CIE-LABlab(50.20, -31.74, 40.12)
CIE-LCHlch(50.20, 51.16, 128.35°)
OKLaboklab(55.99% -0.0886 0.0926)
OKLCHoklch(55.99% 0.128 133.7)
XYZxyz(12.4003, 18.5841, 5.5180)
Luminance0.1858 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54842E #5E2E84
analogous
#7F842E #54842E #2E8433
triadic
#54842E #2E5484 #842E54
tetradic
#54842E #2E7F84 #5E2E84 #84332E
square
#54842E #2E7F84 #5E2E84 #84332E
split-complementary
#54842E #332E84 #842E7F
monochromatic
#1A290E #37571E #54842E #71B13E #90C964

Accessibility & contrast

On white

4.45
#54842E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#54842E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54842E
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54842E#FFFFFF#000000##000000
##54842E1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A24
Deuteranopia (green-blind)
#827635
Tritanopia (blue-blind)
#547F72
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #54842e;
/* rgb */ color: rgb(84, 132, 46);
/* oklch */ color: oklch(56.0% 0.128 133.7);
Tailwind
colors: {
  custom: {
    50: '#88a86b',
    500: '#54842e',
    950: '#000000',
  },
}
SCSS
$custom: #54842e;
$custom-light: #88a86b;
$custom-dark: #000000;
JSON
{
  "hex": "#54842e",
  "rgb": {
    "r": 84,
    "g": 132,
    "b": 46
  },
  "hsl": {
    "h": 93.488,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55991,
    "c": 0.12815,
    "h": 133.7
  },
  "luminance": 0.18585
}

Semantic roles & 50–950 ramp

primary
#54842E
secondary
#8C5EB0
accent
#50D89C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F07
muted
#7D7F7A

Preview Lab

Preview with #54842E

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

Preview Lab → · Contrast checker → · Palette generator →

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