#54812E#54812E

#54812E is a mid, vivid yellow-green. Relative luminance 0.178; OKLCH L 55.2% C 0.124 H 133.2°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#54812E
RGBrgb(84, 129, 46)
HSLhsl(93, 47%, 34%)
HSVhsv(93, 64%, 51%)
CMYKcmyk(34.9%, 0%, 64.3%, 49.4%)
CIE-LABlab(49.23, -30.34, 39.06)
CIE-LCHlch(49.23, 49.46, 127.84°)
OKLaboklab(55.2% -0.0847 0.0904)
OKLCHoklch(55.2% 0.124 133.2)
XYZxyz(11.9994, 17.7821, 5.3843)
Luminance0.1778 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54812E #5B2E81
analogous
#7E812E #54812E #2E8131
triadic
#54812E #2E5481 #812E54
tetradic
#54812E #2E7E81 #5B2E81 #81312E
square
#54812E #2E7E81 #5B2E81 #81312E
split-complementary
#54812E #312E81 #812E7E
monochromatic
#19270E #37541E #54812E #71AE3E #90C762

Accessibility & contrast

On white

4.61
#54812E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#54812E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #54812E
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54812E#FFFFFF#000000##FFFFFF
##54812E1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867724
Deuteranopia (green-blind)
#807434
Tritanopia (blue-blind)
#547C70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #54812e;
/* rgb */ color: rgb(84, 129, 46);
/* oklch */ color: oklch(55.2% 0.124 133.2);
Tailwind
colors: {
  custom: {
    50: '#87a66a',
    500: '#54812e',
    950: '#000000',
  },
}
SCSS
$custom: #54812e;
$custom-light: #87a66a;
$custom-dark: #000000;
JSON
{
  "hex": "#54812e",
  "rgb": {
    "r": 84,
    "g": 129,
    "b": 46
  },
  "hsl": {
    "h": 92.53,
    "s": 47.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.55204,
    "c": 0.12387,
    "h": 133.2
  },
  "luminance": 0.17783
}

Semantic roles & 50–950 ramp

primary
#54812E
secondary
#895DAE
accent
#51D79A
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F07
muted
#7D7F7A

Preview Lab

Preview with #54812E

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

Preview Lab → · Contrast checker → · Palette generator →

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