#54752F#54752F

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

Color values

HEX#54752F
RGBrgb(84, 117, 47)
HSLhsl(88, 43%, 32%)
HSVhsv(88, 60%, 46%)
CMYKcmyk(28.2%, 0%, 59.8%, 54.1%)
CIE-LABlab(45.38, -24.41, 34.23)
CIE-LCHlch(45.38, 42.04, 125.49°)
OKLaboklab(52.08% -0.0683 0.0802)
OKLCHoklch(52.08% 0.105 130.4)
XYZxyz(10.5304, 14.8124, 4.9930)
Luminance0.1481 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54752F #502F75
analogous
#75732F #54752F #31752F
triadic
#54752F #2F5475 #752F54
tetradic
#54752F #2F7573 #502F75 #752F31
square
#54752F #2F7573 #502F75 #752F31
split-complementary
#54752F #2F3175 #732F75
monochromatic
#151E0C #35491D #54752F #73A141 #92BF5F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54752F#FFFFFF#000000##FFFFFF
##54752F1.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)
#7A6D28
Deuteranopia (green-blind)
#756B34
Tritanopia (blue-blind)
#567066
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #54752f;
/* rgb */ color: rgb(84, 117, 47);
/* oklch */ color: oklch(52.1% 0.105 130.4);
Tailwind
colors: {
  custom: {
    50: '#869d6a',
    500: '#54752f',
    950: '#000000',
  },
}
SCSS
$custom: #54752f;
$custom-light: #869d6a;
$custom-dark: #000000;
JSON
{
  "hex": "#54752f",
  "rgb": {
    "r": 84,
    "g": 117,
    "b": 47
  },
  "hsl": {
    "h": 88.286,
    "s": 42.683,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52075,
    "c": 0.10535,
    "h": 130.4
  },
  "luminance": 0.14813
}

Semantic roles & 50–950 ramp

primary
#54752F
secondary
#7E5AA6
accent
#55D290
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #54752F

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

Preview Lab → · Contrast checker → · Palette generator →

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