#5C792D#5C792D

#5C792D is a mid, moderate yellow-green. Relative luminance 0.161; OKLCH L 53.6% C 0.109 H 127.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#5C792D
RGBrgb(92, 121, 45)
HSLhsl(83, 46%, 33%)
HSVhsv(83, 63%, 47%)
CMYKcmyk(24%, 0%, 62.8%, 52.5%)
CIE-LABlab(47.16, -23.33, 37.37)
CIE-LCHlch(47.16, 44.05, 121.98°)
OKLaboklab(53.65% -0.066 0.0865)
OKLCHoklch(53.65% 0.109 127.3)
XYZxyz(11.7246, 16.1393, 4.9796)
Luminance0.1614 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C792D #4A2D79
analogous
#79702D #5C792D #36792D
triadic
#5C792D #2D5C79 #792D5C
tetradic
#5C792D #2D7970 #4A2D79 #792D36
square
#5C792D #2D7970 #4A2D79 #792D36
split-complementary
#5C792D #2D3679 #702D79
monochromatic
#18200C #3A4C1C #5C792D #7EA63E #9CC35D

Accessibility & contrast

On white

4.97
#5C792D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#5C792D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C792D
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C792D#FFFFFF#000000##FFFFFF
##5C792D1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7124
Deuteranopia (green-blind)
#7B6F32
Tritanopia (blue-blind)
#5F7469
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5c792d;
/* rgb */ color: rgb(92, 121, 45);
/* oklch */ color: oklch(53.6% 0.109 127.3);
Tailwind
colors: {
  custom: {
    50: '#8ca069',
    500: '#5c792d',
    950: '#000000',
  },
}
SCSS
$custom: #5c792d;
$custom-light: #8ca069;
$custom-dark: #000000;
JSON
{
  "hex": "#5c792d",
  "rgb": {
    "r": 92,
    "g": 121,
    "b": 45
  },
  "hsl": {
    "h": 82.895,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.53647,
    "c": 0.10886,
    "h": 127.3
  },
  "luminance": 0.1614
}

Semantic roles & 50–950 ramp

primary
#5C792D
secondary
#7758A9
accent
#52D584
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #5C792D

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

Preview Lab → · Contrast checker → · Palette generator →

#5C792D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva