#54812A#54812A

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

Color values

HEX#54812A
RGBrgb(84, 129, 42)
HSLhsl(91, 51%, 34%)
HSVhsv(91, 67%, 51%)
CMYKcmyk(34.9%, 0%, 67.4%, 49.4%)
CIE-LABlab(49.19, -30.70, 40.84)
CIE-LCHlch(49.19, 51.09, 126.94°)
OKLaboklab(55.16% -0.0861 0.0936)
OKLCHoklch(55.16% 0.127 132.6)
XYZxyz(11.9242, 17.7520, 4.9883)
Luminance0.1775 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54812A #572A81
analogous
#7F812A #54812A #2A812B
triadic
#54812A #2A5481 #812A54
tetradic
#54812A #2A7F81 #572A81 #812B2A
square
#54812A #2A7F81 #572A81 #812B2A
split-complementary
#54812A #2B2A81 #812A7F
monochromatic
#18250C #36531B #54812A #72AF39 #91CA5C

Accessibility & contrast

On white

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

On black

4.55
#54812A on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##54812A#FFFFFF#000000##FFFFFF
##54812A1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86771F
Deuteranopia (green-blind)
#807431
Tritanopia (blue-blind)
#557C6F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #54812a;
/* rgb */ color: rgb(84, 129, 42);
/* oklch */ color: oklch(55.2% 0.127 132.6);
Tailwind
colors: {
  custom: {
    50: '#88a668',
    500: '#54812a',
    950: '#000000',
  },
}
SCSS
$custom: #54812a;
$custom-light: #88a668;
$custom-dark: #000000;
JSON
{
  "hex": "#54812a",
  "rgb": {
    "r": 84,
    "g": 129,
    "b": 42
  },
  "hsl": {
    "h": 91.034,
    "s": 50.877,
    "l": 33.529
  },
  "oklch": {
    "l": 0.55162,
    "c": 0.12718,
    "h": 132.6
  },
  "luminance": 0.17752
}

Semantic roles & 50–950 ramp

primary
#54812A
secondary
#8557AF
accent
#4DDA96
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #54812A

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

Preview Lab → · Contrast checker → · Palette generator →

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