#54842F#54842F

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

Color values

HEX#54842F
RGBrgb(84, 132, 47)
HSLhsl(94, 47%, 35%)
HSVhsv(94, 64%, 52%)
CMYKcmyk(36.4%, 0%, 64.4%, 48.2%)
CIE-LABlab(50.21, -31.65, 39.67)
CIE-LCHlch(50.21, 50.75, 128.58°)
OKLaboklab(56% -0.0882 0.0918)
OKLCHoklch(56% 0.127 133.9)
XYZxyz(12.4203, 18.5921, 5.6230)
Luminance0.1859 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54842F #5F2F84
analogous
#7F842F #54842F #2F8434
triadic
#54842F #2F5484 #842F54
tetradic
#54842F #2F7F84 #5F2F84 #84342F
square
#54842F #2F7F84 #5F2F84 #84342F
split-complementary
#54842F #342F84 #842F7F
monochromatic
#1B2A0F #37571F #54842F #71B13F #90C865

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54842F#FFFFFF#000000##000000
##54842F1.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)
#897A25
Deuteranopia (green-blind)
#827636
Tritanopia (blue-blind)
#547F72
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #54842f;
/* rgb */ color: rgb(84, 132, 47);
/* oklch */ color: oklch(56.0% 0.127 133.9);
Tailwind
colors: {
  custom: {
    50: '#88a86b',
    500: '#54842f',
    950: '#000000',
  },
}
SCSS
$custom: #54842f;
$custom-light: #88a86b;
$custom-dark: #000000;
JSON
{
  "hex": "#54842f",
  "rgb": {
    "r": 84,
    "g": 132,
    "b": 47
  },
  "hsl": {
    "h": 93.882,
    "s": 47.486,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56002,
    "c": 0.12731,
    "h": 133.9
  },
  "luminance": 0.18593
}

Semantic roles & 50–950 ramp

primary
#54842F
secondary
#8D60AF
accent
#51D79D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F07
muted
#7D7F7A

Preview Lab

Preview with #54842F

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

Preview Lab → · Contrast checker → · Palette generator →

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