#54752D#54752D

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

Color values

HEX#54752D
RGBrgb(84, 117, 45)
HSLhsl(88, 44%, 32%)
HSVhsv(88, 62%, 46%)
CMYKcmyk(28.2%, 0%, 61.5%, 54.1%)
CIE-LABlab(45.35, -24.61, 35.20)
CIE-LCHlch(45.35, 42.95, 124.96°)
OKLaboklab(52.05% -0.0691 0.082)
OKLCHoklch(52.05% 0.107 130.1)
XYZxyz(10.4910, 14.7966, 4.7854)
Luminance0.1480 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54752D #4E2D75
analogous
#75722D #54752D #30752D
triadic
#54752D #2D5475 #752D54
tetradic
#54752D #2D7572 #4E2D75 #752D30
square
#54752D #2D7572 #4E2D75 #752D30
split-complementary
#54752D #2D3075 #722D75
monochromatic
#151D0B #34491C #54752D #74A13E #92C05C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54752D#FFFFFF#000000##FFFFFF
##54752D1.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)
#7A6D25
Deuteranopia (green-blind)
#766B32
Tritanopia (blue-blind)
#567065
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #54752d;
/* rgb */ color: rgb(84, 117, 45);
/* oklch */ color: oklch(52.1% 0.107 130.1);
Tailwind
colors: {
  custom: {
    50: '#869d69',
    500: '#54752d',
    950: '#000000',
  },
}
SCSS
$custom: #54752d;
$custom-light: #869d69;
$custom-dark: #000000;
JSON
{
  "hex": "#54752d",
  "rgb": {
    "r": 84,
    "g": 117,
    "b": 45
  },
  "hsl": {
    "h": 87.5,
    "s": 44.444,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52051,
    "c": 0.10724,
    "h": 130.1
  },
  "luminance": 0.14797
}

Semantic roles & 50–950 ramp

primary
#54752D
secondary
#7C57A6
accent
#54D48F
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #54752D

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

Preview Lab → · Contrast checker → · Palette generator →

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