#5D9525#5D9525

#5D9525 is a mid, vivid yellow-green. Relative luminance 0.240; OKLCH L 60.9% C 0.153 H 132.8°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#5D9525
RGBrgb(93, 149, 37)
HSLhsl(90, 60%, 36%)
HSVhsv(90, 75%, 58%)
CMYKcmyk(37.6%, 0%, 75.2%, 41.6%)
CIE-LABlab(56.04, -36.80, 50.05)
CIE-LCHlch(56.04, 62.12, 126.33°)
OKLaboklab(60.87% -0.1036 0.1121)
OKLCHoklch(60.87% 0.153 132.8)
XYZxyz(15.5954, 23.9549, 5.5520)
Luminance0.2396 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D9525 #5D2595
analogous
#959525 #5D9525 #259525
triadic
#5D9525 #255D95 #95255D
tetradic
#5D9525 #259595 #5D2595 #952525
square
#5D9525 #259595 #5D2595 #952525
split-complementary
#5D9525 #252595 #952595
monochromatic
#20330D #3E6419 #5D9525 #7CC631 #9AD75E

Accessibility & contrast

On white

3.63
#5D9525 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#5D9525 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D9525
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D9525#FFFFFF#000000##000000
##5D95251.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B890E
Deuteranopia (green-blind)
#948530
Tritanopia (blue-blind)
#5E8F7F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5d9525;
/* rgb */ color: rgb(93, 149, 37);
/* oklch */ color: oklch(60.9% 0.153 132.8);
Tailwind
colors: {
  custom: {
    50: '#90b468',
    500: '#5d9525',
    950: '#000000',
  },
}
SCSS
$custom: #5d9525;
$custom-light: #90b468;
$custom-dark: #000000;
JSON
{
  "hex": "#5d9525",
  "rgb": {
    "r": 93,
    "g": 149,
    "b": 37
  },
  "hsl": {
    "h": 90,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.6087,
    "c": 0.15264,
    "h": 132.8
  },
  "luminance": 0.23956
}

Semantic roles & 50–950 ramp

primary
#5D9525
secondary
#8B5ABC
accent
#44E394
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5D9525

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

Preview Lab → · Contrast checker → · Palette generator →

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