#54842B#54842B

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

Color values

HEX#54842B
RGBrgb(84, 132, 43)
HSLhsl(92, 51%, 34%)
HSVhsv(92, 67%, 52%)
CMYKcmyk(36.4%, 0%, 67.4%, 48.2%)
CIE-LABlab(50.17, -32.01, 41.44)
CIE-LCHlch(50.17, 52.37, 127.68°)
OKLaboklab(55.96% -0.0895 0.095)
OKLCHoklch(55.96% 0.131 133.3)
XYZxyz(12.3433, 18.5612, 5.2174)
Luminance0.1856 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54842B #5B2B84
analogous
#81842B #54842B #2B842F
triadic
#54842B #2B5484 #842B54
tetradic
#54842B #2B8184 #5B2B84 #842F2B
square
#54842B #2B8184 #5B2B84 #842F2B
split-complementary
#54842B #2F2B84 #842B81
monochromatic
#19280D #37561C #54842B #71B23A #90CB5F

Accessibility & contrast

On white

4.46
#54842B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#54842B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54842B
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54842B#FFFFFF#000000##000000
##54842B1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #54842b;
/* rgb */ color: rgb(84, 132, 43);
/* oklch */ color: oklch(56.0% 0.131 133.3);
Tailwind
colors: {
  custom: {
    50: '#88a869',
    500: '#54842b',
    950: '#000000',
  },
}
SCSS
$custom: #54842b;
$custom-light: #88a869;
$custom-dark: #000000;
JSON
{
  "hex": "#54842b",
  "rgb": {
    "r": 84,
    "g": 132,
    "b": 43
  },
  "hsl": {
    "h": 92.36,
    "s": 50.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.55961,
    "c": 0.13058,
    "h": 133.3
  },
  "luminance": 0.18562
}

Semantic roles & 50–950 ramp

primary
#54842B
secondary
#895AB1
accent
#4DDA99
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #54842B

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

Preview Lab → · Contrast checker → · Palette generator →

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