#54792E#54792E

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

Color values

HEX#54792E
RGBrgb(84, 121, 46)
HSLhsl(90, 45%, 33%)
HSVhsv(90, 62%, 47%)
CMYKcmyk(30.6%, 0%, 62%, 52.5%)
CIE-LABlab(46.65, -26.50, 36.18)
CIE-LCHlch(46.65, 44.84, 126.22°)
OKLaboklab(53.11% -0.0742 0.0843)
OKLCHoklch(53.11% 0.112 131.4)
XYZxyz(10.9865, 15.7565, 5.0467)
Luminance0.1576 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54792E #532E79
analogous
#79782E #54792E #2F792E
triadic
#54792E #2E5479 #792E54
tetradic
#54792E #2E7978 #532E79 #792E2F
square
#54792E #2E7978 #532E79 #792E2F
split-complementary
#54792E #2E2F79 #782E79
monochromatic
#16200C #354D1D #54792E #73A53F #91C25F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54792E#FFFFFF#000000##FFFFFF
##54792E1.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)
#7E7026
Deuteranopia (green-blind)
#796E33
Tritanopia (blue-blind)
#557469
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #54792e;
/* rgb */ color: rgb(84, 121, 46);
/* oklch */ color: oklch(53.1% 0.112 131.4);
Tailwind
colors: {
  custom: {
    50: '#87a06a',
    500: '#54792e',
    950: '#000000',
  },
}
SCSS
$custom: #54792e;
$custom-light: #87a06a;
$custom-dark: #000000;
JSON
{
  "hex": "#54792e",
  "rgb": {
    "r": 84,
    "g": 121,
    "b": 46
  },
  "hsl": {
    "h": 89.6,
    "s": 44.91,
    "l": 32.745
  },
  "oklch": {
    "l": 0.53108,
    "c": 0.11225,
    "h": 131.4
  },
  "luminance": 0.15757
}

Semantic roles & 50–950 ramp

primary
#54792E
secondary
#815AA9
accent
#53D593
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #54792E

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

Preview Lab → · Contrast checker → · Palette generator →

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