#5B792C#5B792C

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

Color values

HEX#5B792C
RGBrgb(91, 121, 44)
HSLhsl(83, 47%, 32%)
HSVhsv(83, 64%, 47%)
CMYKcmyk(24.8%, 0%, 63.6%, 52.5%)
CIE-LABlab(47.08, -23.84, 37.74)
CIE-LCHlch(47.08, 44.64, 122.28°)
OKLaboklab(53.56% -0.0675 0.0872)
OKLCHoklch(53.56% 0.11 127.7)
XYZxyz(11.6064, 16.0805, 4.8748)
Luminance0.1608 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B792C #4A2C79
analogous
#79712C #5B792C #34792C
triadic
#5B792C #2C5B79 #792C5B
tetradic
#5B792C #2C7971 #4A2C79 #792C34
square
#5B792C #2C7971 #4A2C79 #792C34
split-complementary
#5B792C #2C3479 #712C79
monochromatic
#171F0B #394C1C #5B792C #7DA63C #9BC45C

Accessibility & contrast

On white

4.98
#5B792C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#5B792C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B792C
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B792C#FFFFFF#000000##FFFFFF
##5B792C1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b792c;
/* rgb */ color: rgb(91, 121, 44);
/* oklch */ color: oklch(53.6% 0.110 127.7);
Tailwind
colors: {
  custom: {
    50: '#8ca069',
    500: '#5b792c',
    950: '#000000',
  },
}
SCSS
$custom: #5b792c;
$custom-light: #8ca069;
$custom-dark: #000000;
JSON
{
  "hex": "#5b792c",
  "rgb": {
    "r": 91,
    "g": 121,
    "b": 44
  },
  "hsl": {
    "h": 83.377,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.53564,
    "c": 0.11028,
    "h": 127.7
  },
  "luminance": 0.16081
}

Semantic roles & 50–950 ramp

primary
#5B792C
secondary
#7757AA
accent
#51D685
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #5B792C

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

Preview Lab → · Contrast checker → · Palette generator →

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