#54842D#54842D

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

Color values

HEX#54842D
RGBrgb(84, 132, 45)
HSLhsl(93, 49%, 35%)
HSVhsv(93, 66%, 52%)
CMYKcmyk(36.4%, 0%, 65.9%, 48.2%)
CIE-LABlab(50.19, -31.83, 40.57)
CIE-LCHlch(50.19, 51.56, 128.12°)
OKLaboklab(55.98% -0.0889 0.0934)
OKLCHoklch(55.98% 0.129 133.6)
XYZxyz(12.3809, 18.5763, 5.4154)
Luminance0.1858 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54842D #5D2D84
analogous
#80842D #54842D #2D8431
triadic
#54842D #2D5484 #842D54
tetradic
#54842D #2D8084 #5D2D84 #84312D
square
#54842D #2D8084 #5D2D84 #84312D
split-complementary
#54842D #312D84 #842D80
monochromatic
#1A290E #37561D #54842D #71B23D #90C962

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54842D#FFFFFF#000000##000000
##54842D1.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)
#897A22
Deuteranopia (green-blind)
#837634
Tritanopia (blue-blind)
#547F72
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #54842d;
/* rgb */ color: rgb(84, 132, 45);
/* oklch */ color: oklch(56.0% 0.129 133.6);
Tailwind
colors: {
  custom: {
    50: '#88a86a',
    500: '#54842d',
    950: '#000000',
  },
}
SCSS
$custom: #54842d;
$custom-light: #88a86a;
$custom-dark: #000000;
JSON
{
  "hex": "#54842d",
  "rgb": {
    "r": 84,
    "g": 132,
    "b": 45
  },
  "hsl": {
    "h": 93.103,
    "s": 49.153,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55981,
    "c": 0.12897,
    "h": 133.6
  },
  "luminance": 0.18577
}

Semantic roles & 50–950 ramp

primary
#54842D
secondary
#8B5DB0
accent
#4FD99B
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F07
muted
#7D7F7A

Preview Lab

Preview with #54842D

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

Preview Lab → · Contrast checker → · Palette generator →

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