#54752B#54752B

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

Color values

HEX#54752B
RGBrgb(84, 117, 43)
HSLhsl(87, 46%, 31%)
HSVhsv(87, 63%, 46%)
CMYKcmyk(28.2%, 0%, 63.2%, 54.1%)
CIE-LABlab(45.33, -24.81, 36.15)
CIE-LCHlch(45.33, 43.85, 124.46°)
OKLaboklab(52.03% -0.0698 0.0838)
OKLCHoklch(52.03% 0.109 129.8)
XYZxyz(10.4534, 14.7816, 4.5874)
Luminance0.1478 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54752B #4C2B75
analogous
#75712B #54752B #2F752B
triadic
#54752B #2B5475 #752B54
tetradic
#54752B #2B7571 #4C2B75 #752B2F
square
#54752B #2B7571 #4C2B75 #752B2F
split-complementary
#54752B #2B2F75 #712B75
monochromatic
#141B0A #34481B #54752B #74A23B #93C259

Accessibility & contrast

On white

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

On black

3.96
#54752B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##54752B#FFFFFF#000000##FFFFFF
##54752B1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #54752b;
/* rgb */ color: rgb(84, 117, 43);
/* oklch */ color: oklch(52.0% 0.109 129.8);
Tailwind
colors: {
  custom: {
    50: '#869d68',
    500: '#54752b',
    950: '#000000',
  },
}
SCSS
$custom: #54752b;
$custom-light: #869d68;
$custom-dark: #000000;
JSON
{
  "hex": "#54752b",
  "rgb": {
    "r": 84,
    "g": 117,
    "b": 43
  },
  "hsl": {
    "h": 86.757,
    "s": 46.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52027,
    "c": 0.10909,
    "h": 129.8
  },
  "luminance": 0.14782
}

Semantic roles & 50–950 ramp

primary
#54752B
secondary
#7955A7
accent
#52D68D
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #54752B

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

Preview Lab → · Contrast checker → · Palette generator →

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