#54792D#54792D

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

Color values

HEX#54792D
RGBrgb(84, 121, 45)
HSLhsl(89, 46%, 33%)
HSVhsv(89, 63%, 47%)
CMYKcmyk(30.6%, 0%, 62.8%, 52.5%)
CIE-LABlab(46.64, -26.59, 36.65)
CIE-LCHlch(46.64, 45.28, 125.96°)
OKLaboklab(53.1% -0.0745 0.0851)
OKLCHoklch(53.1% 0.113 131.2)
XYZxyz(10.9671, 15.7487, 4.9441)
Luminance0.1575 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54792D #522D79
analogous
#79782D #54792D #2E792D
triadic
#54792D #2D5479 #792D54
tetradic
#54792D #2D7978 #522D79 #792D2E
square
#54792D #2D7978 #522D79 #792D2E
split-complementary
#54792D #2D2E79 #782D79
monochromatic
#16200C #354C1C #54792D #73A63E #92C35D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #54792d;
/* rgb */ color: rgb(84, 121, 45);
/* oklch */ color: oklch(53.1% 0.113 131.2);
Tailwind
colors: {
  custom: {
    50: '#87a069',
    500: '#54792d',
    950: '#000000',
  },
}
SCSS
$custom: #54792d;
$custom-light: #87a069;
$custom-dark: #000000;
JSON
{
  "hex": "#54792d",
  "rgb": {
    "r": 84,
    "g": 121,
    "b": 45
  },
  "hsl": {
    "h": 89.211,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.53096,
    "c": 0.11315,
    "h": 131.2
  },
  "luminance": 0.15749
}

Semantic roles & 50–950 ramp

primary
#54792D
secondary
#8058A9
accent
#52D592
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #54792D

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

Preview Lab → · Contrast checker → · Palette generator →

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