#5A9528#5A9528

#5A9528 is a mid, vivid yellow-green. Relative luminance 0.238; OKLCH L 60.7% C 0.152 H 133.9°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#5A9528
RGBrgb(90, 149, 40)
HSLhsl(92, 58%, 37%)
HSVhsv(92, 73%, 58%)
CMYKcmyk(39.6%, 0%, 73.2%, 41.6%)
CIE-LABlab(55.91, -37.68, 48.74)
CIE-LCHlch(55.91, 61.61, 127.71°)
OKLaboklab(60.72% -0.1056 0.1098)
OKLCHoklch(60.72% 0.152 133.9)
XYZxyz(15.3466, 23.8210, 5.7964)
Luminance0.2382 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9528 #632895
analogous
#919528 #5A9528 #28952D
triadic
#5A9528 #285A95 #95285A
tetradic
#5A9528 #289195 #632895 #952D28
square
#5A9528 #289195 #632895 #952D28
split-complementary
#5A9528 #2D2895 #952891
monochromatic
#20350E #3D651B #5A9528 #77C535 #97D562

Accessibility & contrast

On white

3.64
#5A9528 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#5A9528 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9528
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9528#FFFFFF#000000##000000
##5A95281.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8915
Deuteranopia (green-blind)
#938432
Tritanopia (blue-blind)
#5A8F80
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5a9528;
/* rgb */ color: rgb(90, 149, 40);
/* oklch */ color: oklch(60.7% 0.152 133.9);
Tailwind
colors: {
  custom: {
    50: '#8eb469',
    500: '#5a9528',
    950: '#000000',
  },
}
SCSS
$custom: #5a9528;
$custom-light: #8eb469;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9528",
  "rgb": {
    "r": 90,
    "g": 149,
    "b": 40
  },
  "hsl": {
    "h": 92.477,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.60724,
    "c": 0.15238,
    "h": 133.9
  },
  "luminance": 0.23822
}

Semantic roles & 50–950 ramp

primary
#5A9528
secondary
#905EBB
accent
#47E19A
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5A9528

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

Preview Lab → · Contrast checker → · Palette generator →

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