#54813A#54813A

#54813A is a mid, moderate yellow-green. Relative luminance 0.179; OKLCH L 55.4% C 0.113 H 135.4°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#54813A
RGBrgb(84, 129, 58)
HSLhsl(98, 38%, 37%)
HSVhsv(98, 55%, 51%)
CMYKcmyk(34.9%, 0%, 55%, 49.4%)
CIE-LABlab(49.36, -29.04, 33.31)
CIE-LCHlch(49.36, 44.19, 131.08°)
OKLaboklab(55.35% -0.0802 0.0792)
OKLCHoklch(55.35% 0.113 135.4)
XYZxyz(12.2698, 17.8903, 6.8089)
Luminance0.1789 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54813A #673A81
analogous
#78813A #54813A #3A8144
triadic
#54813A #3A5481 #813A54
tetradic
#54813A #3A7881 #673A81 #81443A
square
#54813A #3A7881 #673A81 #81443A
split-complementary
#54813A #443A81 #813A78
monochromatic
#1D2D14 #395727 #54813A #6FAB4D #91C175

Accessibility & contrast

On white

4.59
#54813A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#54813A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #54813A
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54813A#FFFFFF#000000##FFFFFF
##54813A1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857833
Deuteranopia (green-blind)
#7F743F
Tritanopia (blue-blind)
#537D71
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #54813a;
/* rgb */ color: rgb(84, 129, 58);
/* oklch */ color: oklch(55.4% 0.113 135.4);
Tailwind
colors: {
  custom: {
    50: '#87a672',
    500: '#54813a',
    950: '#000000',
  },
}
SCSS
$custom: #54813a;
$custom-light: #87a672;
$custom-dark: #000000;
JSON
{
  "hex": "#54813a",
  "rgb": {
    "r": 84,
    "g": 129,
    "b": 58
  },
  "hsl": {
    "h": 98.028,
    "s": 37.968,
    "l": 36.667
  },
  "oklch": {
    "l": 0.55354,
    "c": 0.11273,
    "h": 135.4
  },
  "luminance": 0.17891
}

Semantic roles & 50–950 ramp

primary
#54813A
secondary
#946DAA
accent
#5ACEA3
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0B0F08
muted
#7C7F7B

Preview Lab

Preview with #54813A

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

Preview Lab → · Contrast checker → · Palette generator →

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