#54792B#54792B

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

Color values

HEX#54792B
RGBrgb(84, 121, 43)
HSLhsl(88, 48%, 32%)
HSVhsv(88, 64%, 47%)
CMYKcmyk(30.6%, 0%, 64.5%, 52.5%)
CIE-LABlab(46.62, -26.79, 37.58)
CIE-LCHlch(46.62, 46.15, 125.48°)
OKLaboklab(53.07% -0.0752 0.0869)
OKLCHoklch(53.07% 0.115 130.9)
XYZxyz(10.9295, 15.7337, 4.7461)
Luminance0.1573 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54792B #502B79
analogous
#79772B #54792B #2D792B
triadic
#54792B #2B5479 #792B54
tetradic
#54792B #2B7977 #502B79 #792B2D
square
#54792B #2B7977 #502B79 #792B2D
split-complementary
#54792B #2B2D79 #772B79
monochromatic
#151F0B #354C1B #54792B #73A63B #92C45A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54792B#FFFFFF#000000##FFFFFF
##54792B1.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)
#7E7022
Deuteranopia (green-blind)
#796E31
Tritanopia (blue-blind)
#567469
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #54792b;
/* rgb */ color: rgb(84, 121, 43);
/* oklch */ color: oklch(53.1% 0.115 130.9);
Tailwind
colors: {
  custom: {
    50: '#87a068',
    500: '#54792b',
    950: '#000000',
  },
}
SCSS
$custom: #54792b;
$custom-light: #87a068;
$custom-dark: #000000;
JSON
{
  "hex": "#54792b",
  "rgb": {
    "r": 84,
    "g": 121,
    "b": 43
  },
  "hsl": {
    "h": 88.462,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53074,
    "c": 0.11493,
    "h": 130.9
  },
  "luminance": 0.15734
}

Semantic roles & 50–950 ramp

primary
#54792B
secondary
#7E56AA
accent
#51D790
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #54792B

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

Preview Lab → · Contrast checker → · Palette generator →

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