#54752A#54752A

#54752A is a mid, moderate yellow-green. Relative luminance 0.148; OKLCH L 52.0% C 0.110 H 129.6°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#54752A
RGBrgb(84, 117, 42)
HSLhsl(86, 47%, 31%)
HSVhsv(86, 64%, 46%)
CMYKcmyk(28.2%, 0%, 64.1%, 54.1%)
CIE-LABlab(45.32, -24.91, 36.62)
CIE-LCHlch(45.32, 44.29, 124.22°)
OKLaboklab(52.02% -0.0702 0.0847)
OKLCHoklch(52.02% 0.11 129.6)
XYZxyz(10.4353, 14.7743, 4.4920)
Luminance0.1477 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54752A #4B2A75
analogous
#75702A #54752A #2E752A
triadic
#54752A #2A5475 #752A54
tetradic
#54752A #2A7570 #4B2A75 #752A2E
square
#54752A #2A7570 #4B2A75 #752A2E
split-complementary
#54752A #2A2E75 #702A75
monochromatic
#131B0A #34481A #54752A #74A23A #93C357

Accessibility & contrast

On white

5.31
#54752A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#54752A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #54752A
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54752A#FFFFFF#000000##FFFFFF
##54752A1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6D21
Deuteranopia (green-blind)
#766A30
Tritanopia (blue-blind)
#567065
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #54752a;
/* rgb */ color: rgb(84, 117, 42);
/* oklch */ color: oklch(52.0% 0.110 129.6);
Tailwind
colors: {
  custom: {
    50: '#879d67',
    500: '#54752a',
    950: '#000000',
  },
}
SCSS
$custom: #54752a;
$custom-light: #879d67;
$custom-dark: #000000;
JSON
{
  "hex": "#54752a",
  "rgb": {
    "r": 84,
    "g": 117,
    "b": 42
  },
  "hsl": {
    "h": 86.4,
    "s": 47.17,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52016,
    "c": 0.10999,
    "h": 129.6
  },
  "luminance": 0.14775
}

Semantic roles & 50–950 ramp

primary
#54752A
secondary
#7854A7
accent
#51D78C
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #54752A

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

Preview Lab → · Contrast checker → · Palette generator →

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