#5A9518#5A9518

#5A9518 is a mid, vivid yellow-green. Relative luminance 0.237; OKLCH L 60.6% C 0.161 H 132.7°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#5A9518
RGBrgb(90, 149, 24)
HSLhsl(88, 72%, 34%)
HSVhsv(88, 84%, 58%)
CMYKcmyk(39.6%, 0%, 83.9%, 41.6%)
CIE-LABlab(55.82, -38.60, 53.93)
CIE-LCHlch(55.82, 66.32, 125.59°)
OKLaboklab(60.62% -0.1092 0.1182)
OKLCHoklch(60.62% 0.161 132.7)
XYZxyz(15.1286, 23.7338, 4.6479)
Luminance0.2373 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9518 #531895
analogous
#959218 #5A9518 #1C9518
triadic
#5A9518 #185A95 #95185A
tetradic
#5A9518 #189592 #531895 #95181C
square
#5A9518 #189592 #531895 #95181C
split-complementary
#5A9518 #181C95 #921895
monochromatic
#1A2C07 #3A6010 #5A9518 #7ACA20 #98E146

Accessibility & contrast

On white

3.65
#5A9518 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#5A9518 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9518
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9518#FFFFFF#000000##000000
##5A95181.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8900
Deuteranopia (green-blind)
#948427
Tritanopia (blue-blind)
#5B8F7F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5a9518;
/* rgb */ color: rgb(90, 149, 24);
/* oklch */ color: oklch(60.6% 0.161 132.7);
Tailwind
colors: {
  custom: {
    50: '#8eb462',
    500: '#5a9518',
    950: '#000000',
  },
}
SCSS
$custom: #5a9518;
$custom-light: #8eb462;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9518",
  "rgb": {
    "r": 90,
    "g": 149,
    "b": 24
  },
  "hsl": {
    "h": 88.32,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.60625,
    "c": 0.16094,
    "h": 132.7
  },
  "luminance": 0.23734
}

Semantic roles & 50–950 ramp

primary
#5A9518
secondary
#8146C2
accent
#39EF8F
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5A9518

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

Preview Lab → · Contrast checker → · Palette generator →

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