#5A9523#5A9523

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

Color values

HEX#5A9523
RGBrgb(90, 149, 35)
HSLhsl(91, 62%, 36%)
HSVhsv(91, 77%, 58%)
CMYKcmyk(39.6%, 0%, 76.5%, 41.6%)
CIE-LABlab(55.88, -38.02, 50.55)
CIE-LCHlch(55.88, 63.25, 126.95°)
OKLaboklab(60.69% -0.1069 0.1129)
OKLCHoklch(60.69% 0.155 133.4)
XYZxyz(15.2670, 23.7892, 5.3771)
Luminance0.2379 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9523 #5E2395
analogous
#939523 #5A9523 #239525
triadic
#5A9523 #235A95 #95235A
tetradic
#5A9523 #239395 #5E2395 #952523
square
#5A9523 #239395 #5E2395 #952523
split-complementary
#5A9523 #252395 #952393
monochromatic
#1E320C #3C6317 #5A9523 #78C72F #97D85A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A9523#FFFFFF#000000##000000
##5A95231.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8909
Deuteranopia (green-blind)
#93842F
Tritanopia (blue-blind)
#5A8F7F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5a9523;
/* rgb */ color: rgb(90, 149, 35);
/* oklch */ color: oklch(60.7% 0.155 133.4);
Tailwind
colors: {
  custom: {
    50: '#8eb467',
    500: '#5a9523',
    950: '#000000',
  },
}
SCSS
$custom: #5a9523;
$custom-light: #8eb467;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9523",
  "rgb": {
    "r": 90,
    "g": 149,
    "b": 35
  },
  "hsl": {
    "h": 91.053,
    "s": 61.957,
    "l": 36.078
  },
  "oklch": {
    "l": 0.60688,
    "c": 0.15544,
    "h": 133.4
  },
  "luminance": 0.2379
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5A9523

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

Preview Lab → · Contrast checker → · Palette generator →

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