#54812C#54812C

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

Color values

HEX#54812C
RGBrgb(84, 129, 44)
HSLhsl(92, 49%, 34%)
HSVhsv(92, 66%, 51%)
CMYKcmyk(34.9%, 0%, 65.9%, 49.4%)
CIE-LABlab(49.21, -30.53, 39.96)
CIE-LCHlch(49.21, 50.28, 127.38°)
OKLaboklab(55.18% -0.0854 0.092)
OKLCHoklch(55.18% 0.126 132.9)
XYZxyz(11.9609, 17.7667, 5.1815)
Luminance0.1777 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54812C #592C81
analogous
#7F812C #54812C #2C812F
triadic
#54812C #2C5481 #812C54
tetradic
#54812C #2C7F81 #592C81 #812F2C
square
#54812C #2C7F81 #592C81 #812F2C
split-complementary
#54812C #2F2C81 #812C7F
monochromatic
#19260D #36531C #54812C #72AF3C #91C85F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54812C#FFFFFF#000000##FFFFFF
##54812C1.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)
#867721
Deuteranopia (green-blind)
#807433
Tritanopia (blue-blind)
#557C6F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #54812c;
/* rgb */ color: rgb(84, 129, 44);
/* oklch */ color: oklch(55.2% 0.126 132.9);
Tailwind
colors: {
  custom: {
    50: '#87a669',
    500: '#54812c',
    950: '#000000',
  },
}
SCSS
$custom: #54812c;
$custom-light: #87a669;
$custom-dark: #000000;
JSON
{
  "hex": "#54812c",
  "rgb": {
    "r": 84,
    "g": 129,
    "b": 44
  },
  "hsl": {
    "h": 91.765,
    "s": 49.133,
    "l": 33.922
  },
  "oklch": {
    "l": 0.55183,
    "c": 0.12556,
    "h": 132.9
  },
  "luminance": 0.17767
}

Semantic roles & 50–950 ramp

primary
#54812C
secondary
#875AAF
accent
#4FD998
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #54812C

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

Preview Lab → · Contrast checker → · Palette generator →

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