#54752C#54752C

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

Color values

HEX#54752C
RGBrgb(84, 117, 44)
HSLhsl(87, 45%, 32%)
HSVhsv(87, 62%, 46%)
CMYKcmyk(28.2%, 0%, 62.4%, 54.1%)
CIE-LABlab(45.34, -24.71, 35.68)
CIE-LCHlch(45.34, 43.40, 124.71°)
OKLaboklab(52.04% -0.0694 0.083)
OKLCHoklch(52.04% 0.108 129.9)
XYZxyz(10.4720, 14.7890, 4.6852)
Luminance0.1479 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54752C #4D2C75
analogous
#75722C #54752C #30752C
triadic
#54752C #2C5475 #752C54
tetradic
#54752C #2C7572 #4D2C75 #752C30
square
#54752C #2C7572 #4D2C75 #752C30
split-complementary
#54752C #2C3075 #722C75
monochromatic
#141C0B #34491B #54752C #74A13D #93C15A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54752C#FFFFFF#000000##FFFFFF
##54752C1.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)
#7A6D24
Deuteranopia (green-blind)
#766B31
Tritanopia (blue-blind)
#567065
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #54752c;
/* rgb */ color: rgb(84, 117, 44);
/* oklch */ color: oklch(52.0% 0.108 129.9);
Tailwind
colors: {
  custom: {
    50: '#869d68',
    500: '#54752c',
    950: '#000000',
  },
}
SCSS
$custom: #54752c;
$custom-light: #869d68;
$custom-dark: #000000;
JSON
{
  "hex": "#54752c",
  "rgb": {
    "r": 84,
    "g": 117,
    "b": 44
  },
  "hsl": {
    "h": 87.123,
    "s": 45.342,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52039,
    "c": 0.10818,
    "h": 129.9
  },
  "luminance": 0.14789
}

Semantic roles & 50–950 ramp

primary
#54752C
secondary
#7B56A7
accent
#53D58E
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #54752C

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

Preview Lab → · Contrast checker → · Palette generator →

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