#5A9623#5A9623

#5A9623 is a mid, vivid yellow-green. Relative luminance 0.241; OKLCH L 60.9% C 0.157 H 133.6°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#5A9623
RGBrgb(90, 150, 35)
HSLhsl(91, 62%, 36%)
HSVhsv(91, 77%, 59%)
CMYKcmyk(40%, 0%, 76.7%, 41.2%)
CIE-LABlab(56.19, -38.45, 50.86)
CIE-LCHlch(56.19, 63.76, 127.09°)
OKLaboklab(60.95% -0.1081 0.1135)
OKLCHoklch(60.95% 0.157 133.6)
XYZxyz(15.4259, 24.1069, 5.4301)
Luminance0.2411 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9623 #5F2396
analogous
#949623 #5A9623 #239625
triadic
#5A9623 #235A96 #96235A
tetradic
#5A9623 #239496 #5F2396 #962523
square
#5A9623 #239496 #5F2396 #962523
split-complementary
#5A9623 #252396 #962394
monochromatic
#1E330C #3C6417 #5A9623 #78C82F #97D95B

Accessibility & contrast

On white

3.61
#5A9623 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#5A9623 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9623
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9623#FFFFFF#000000##000000
##5A96231.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A09
Deuteranopia (green-blind)
#94852F
Tritanopia (blue-blind)
#5A9080
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5a9623;
/* rgb */ color: rgb(90, 150, 35);
/* oklch */ color: oklch(60.9% 0.157 133.6);
Tailwind
colors: {
  custom: {
    50: '#8eb567',
    500: '#5a9623',
    950: '#000000',
  },
}
SCSS
$custom: #5a9623;
$custom-light: #8eb567;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9623",
  "rgb": {
    "r": 90,
    "g": 150,
    "b": 35
  },
  "hsl": {
    "h": 91.304,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.60949,
    "c": 0.15671,
    "h": 133.6
  },
  "luminance": 0.24108
}

Semantic roles & 50–950 ramp

primary
#5A9623
secondary
#8D58BD
accent
#43E597
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5A9623

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

Preview Lab → · Contrast checker → · Palette generator →

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