#5D7932#5D7932

#5D7932 is a mid, moderate yellow-green. Relative luminance 0.162; OKLCH L 53.8% C 0.104 H 127.5°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#5D7932
RGBrgb(93, 121, 50)
HSLhsl(84, 42%, 34%)
HSVhsv(84, 59%, 47%)
CMYKcmyk(23.1%, 0%, 58.7%, 52.5%)
CIE-LABlab(47.28, -22.42, 35.07)
CIE-LCHlch(47.28, 41.63, 122.59°)
OKLaboklab(53.78% -0.0631 0.0822)
OKLCHoklch(53.78% 0.104 127.5)
XYZxyz(11.9273, 16.2320, 5.5217)
Luminance0.1623 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7932 #4E3279
analogous
#797132 #5D7932 #397932
triadic
#5D7932 #325D79 #79325D
tetradic
#5D7932 #327971 #4E3279 #793239
square
#5D7932 #327971 #4E3279 #793239
split-complementary
#5D7932 #323979 #713279
monochromatic
#1A220E #3C4E20 #5D7932 #7EA444 #9CC066

Accessibility & contrast

On white

4.95
#5D7932 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#5D7932 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7932
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7932#FFFFFF#000000##FFFFFF
##5D79321.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F712B
Deuteranopia (green-blind)
#7B7037
Tritanopia (blue-blind)
#607469
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5d7932;
/* rgb */ color: rgb(93, 121, 50);
/* oklch */ color: oklch(53.8% 0.104 127.5);
Tailwind
colors: {
  custom: {
    50: '#8d9f6c',
    500: '#5d7932',
    950: '#000000',
  },
}
SCSS
$custom: #5d7932;
$custom-light: #8d9f6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7932",
  "rgb": {
    "r": 93,
    "g": 121,
    "b": 50
  },
  "hsl": {
    "h": 83.662,
    "s": 41.52,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53779,
    "c": 0.10362,
    "h": 127.5
  },
  "luminance": 0.16232
}

Semantic roles & 50–950 ramp

primary
#5D7932
secondary
#7C5FA7
accent
#56D187
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E07
muted
#7D7E7A

Preview Lab

Preview with #5D7932

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

Preview Lab → · Contrast checker → · Palette generator →

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