#54792F#54792F

#54792F is a mid, moderate yellow-green. Relative luminance 0.158; OKLCH L 53.1% C 0.111 H 131.5°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#54792F
RGBrgb(84, 121, 47)
HSLhsl(90, 44%, 33%)
HSVhsv(90, 61%, 47%)
CMYKcmyk(30.6%, 0%, 61.2%, 52.5%)
CIE-LABlab(46.66, -26.39, 35.70)
CIE-LCHlch(46.66, 44.40, 126.47°)
OKLaboklab(53.12% -0.0738 0.0833)
OKLCHoklch(53.12% 0.111 131.5)
XYZxyz(11.0065, 15.7645, 5.1517)
Luminance0.1577 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54792F #542F79
analogous
#79792F #54792F #2F792F
triadic
#54792F #2F5479 #792F54
tetradic
#54792F #2F7979 #542F79 #792F2F
square
#54792F #2F7979 #542F79 #792F2F
split-complementary
#54792F #2F2F79 #792F79
monochromatic
#17210D #354D1E #54792F #73A540 #91C261

Accessibility & contrast

On white

5.06
#54792F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#54792F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #54792F
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54792F#FFFFFF#000000##FFFFFF
##54792F1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7027
Deuteranopia (green-blind)
#796E34
Tritanopia (blue-blind)
#557469
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #54792f;
/* rgb */ color: rgb(84, 121, 47);
/* oklch */ color: oklch(53.1% 0.111 131.5);
Tailwind
colors: {
  custom: {
    50: '#87a06a',
    500: '#54792f',
    950: '#000000',
  },
}
SCSS
$custom: #54792f;
$custom-light: #87a06a;
$custom-dark: #000000;
JSON
{
  "hex": "#54792f",
  "rgb": {
    "r": 84,
    "g": 121,
    "b": 47
  },
  "hsl": {
    "h": 90,
    "s": 44.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5312,
    "c": 0.11132,
    "h": 131.5
  },
  "luminance": 0.15765
}

Semantic roles & 50–950 ramp

primary
#54792F
secondary
#825BA8
accent
#54D494
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0B0E07
muted
#7C7E7A

Preview Lab

Preview with #54792F

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

Preview Lab → · Contrast checker → · Palette generator →

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