#54792C#54792C

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

Color values

HEX#54792C
RGBrgb(84, 121, 44)
HSLhsl(89, 47%, 32%)
HSVhsv(89, 64%, 47%)
CMYKcmyk(30.6%, 0%, 63.6%, 52.5%)
CIE-LABlab(46.63, -26.69, 37.12)
CIE-LCHlch(46.63, 45.72, 125.72°)
OKLaboklab(53.09% -0.0749 0.086)
OKLCHoklch(53.09% 0.114 131)
XYZxyz(10.9480, 15.7411, 4.8439)
Luminance0.1574 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54792C #512C79
analogous
#79782C #54792C #2E792C
triadic
#54792C #2C5479 #792C54
tetradic
#54792C #2C7978 #512C79 #792C2E
square
#54792C #2C7978 #512C79 #792C2E
split-complementary
#54792C #2C2E79 #782C79
monochromatic
#161F0B #354C1C #54792C #73A63C #92C45C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54792C#FFFFFF#000000##FFFFFF
##54792C1.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)
#7E7023
Deuteranopia (green-blind)
#796E32
Tritanopia (blue-blind)
#567469
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #54792c;
/* rgb */ color: rgb(84, 121, 44);
/* oklch */ color: oklch(53.1% 0.114 131.0);
Tailwind
colors: {
  custom: {
    50: '#87a068',
    500: '#54792c',
    950: '#000000',
  },
}
SCSS
$custom: #54792c;
$custom-light: #87a068;
$custom-dark: #000000;
JSON
{
  "hex": "#54792c",
  "rgb": {
    "r": 84,
    "g": 121,
    "b": 44
  },
  "hsl": {
    "h": 88.831,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.53085,
    "c": 0.11405,
    "h": 131
  },
  "luminance": 0.15741
}

Semantic roles & 50–950 ramp

primary
#54792C
secondary
#7F57AA
accent
#51D691
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #54792C

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

Preview Lab → · Contrast checker → · Palette generator →

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