#5D9526#5D9526

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

Color values

HEX#5D9526
RGBrgb(93, 149, 38)
HSLhsl(90, 59%, 37%)
HSVhsv(90, 74%, 58%)
CMYKcmyk(37.6%, 0%, 74.5%, 41.6%)
CIE-LABlab(56.05, -36.73, 49.69)
CIE-LCHlch(56.05, 61.79, 126.47°)
OKLaboklab(60.88% -0.1034 0.1115)
OKLCHoklch(60.88% 0.152 132.8)
XYZxyz(15.6113, 23.9613, 5.6358)
Luminance0.2396 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D9526 #5E2695
analogous
#959526 #5D9526 #269527
triadic
#5D9526 #265D95 #95265D
tetradic
#5D9526 #269595 #5E2695 #952726
square
#5D9526 #269595 #5E2695 #952726
split-complementary
#5D9526 #272695 #952695
monochromatic
#20330D #3F641A #5D9526 #7BC632 #9AD65F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D9526#FFFFFF#000000##000000
##5D95261.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)
#9B8911
Deuteranopia (green-blind)
#948531
Tritanopia (blue-blind)
#5E8F80
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5d9526;
/* rgb */ color: rgb(93, 149, 38);
/* oklch */ color: oklch(60.9% 0.152 132.8);
Tailwind
colors: {
  custom: {
    50: '#90b468',
    500: '#5d9526',
    950: '#000000',
  },
}
SCSS
$custom: #5d9526;
$custom-light: #90b468;
$custom-dark: #000000;
JSON
{
  "hex": "#5d9526",
  "rgb": {
    "r": 93,
    "g": 149,
    "b": 38
  },
  "hsl": {
    "h": 90.27,
    "s": 59.358,
    "l": 36.667
  },
  "oklch": {
    "l": 0.60877,
    "c": 0.15203,
    "h": 132.8
  },
  "luminance": 0.23962
}

Semantic roles & 50–950 ramp

primary
#5D9526
secondary
#8C5BBB
accent
#45E395
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5D9526

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

Preview Lab → · Contrast checker → · Palette generator →

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