#54752E#54752E

#54752E is a mid, moderate yellow-green. Relative luminance 0.148; OKLCH L 52.1% C 0.106 H 130.3°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#54752E
RGBrgb(84, 117, 46)
HSLhsl(88, 44%, 32%)
HSVhsv(88, 61%, 46%)
CMYKcmyk(28.2%, 0%, 60.7%, 54.1%)
CIE-LABlab(45.37, -24.51, 34.72)
CIE-LCHlch(45.37, 42.50, 125.22°)
OKLaboklab(52.06% -0.0687 0.0811)
OKLCHoklch(52.06% 0.106 130.3)
XYZxyz(10.5105, 14.8044, 4.8880)
Luminance0.1480 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54752E #4F2E75
analogous
#75732E #54752E #31752E
triadic
#54752E #2E5475 #752E54
tetradic
#54752E #2E7573 #4F2E75 #752E31
square
#54752E #2E7573 #4F2E75 #752E31
split-complementary
#54752E #2E3175 #732E75
monochromatic
#151D0B #34491D #54752E #74A13F #92C05E

Accessibility & contrast

On white

5.30
#54752E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #54752E
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54752E#FFFFFF#000000##FFFFFF
##54752E1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6D27
Deuteranopia (green-blind)
#756B33
Tritanopia (blue-blind)
#567066
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #54752e;
/* rgb */ color: rgb(84, 117, 46);
/* oklch */ color: oklch(52.1% 0.106 130.3);
Tailwind
colors: {
  custom: {
    50: '#869d69',
    500: '#54752e',
    950: '#000000',
  },
}
SCSS
$custom: #54752e;
$custom-light: #869d69;
$custom-dark: #000000;
JSON
{
  "hex": "#54752e",
  "rgb": {
    "r": 84,
    "g": 117,
    "b": 46
  },
  "hsl": {
    "h": 87.887,
    "s": 43.558,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52063,
    "c": 0.1063,
    "h": 130.3
  },
  "luminance": 0.14805
}

Semantic roles & 50–950 ramp

primary
#54752E
secondary
#7D59A6
accent
#54D38F
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #54752E

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

Preview Lab → · Contrast checker → · Palette generator →

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