#5A9723#5A9723

#5A9723 is a mid, vivid yellow-green. Relative luminance 0.244; OKLCH L 61.2% C 0.158 H 133.7°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#5A9723
RGBrgb(90, 151, 35)
HSLhsl(92, 62%, 36%)
HSVhsv(92, 77%, 59%)
CMYKcmyk(40.4%, 0%, 76.8%, 40.8%)
CIE-LABlab(56.51, -38.88, 51.16)
CIE-LCHlch(56.51, 64.26, 127.23°)
OKLaboklab(61.21% -0.1092 0.1142)
OKLCHoklch(61.21% 0.158 133.7)
XYZxyz(15.5862, 24.4274, 5.4835)
Luminance0.2443 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9723 #602397
analogous
#949723 #5A9723 #239726
triadic
#5A9723 #235A97 #97235A
tetradic
#5A9723 #239497 #602397 #972623
square
#5A9723 #239497 #602397 #972623
split-complementary
#5A9723 #262397 #972394
monochromatic
#1F340C #3C6517 #5A9723 #78C92F #97D95B

Accessibility & contrast

On white

3.57
#5A9723 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#5A9723 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9723
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9723#FFFFFF#000000##000000
##5A97231.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B08
Deuteranopia (green-blind)
#95862F
Tritanopia (blue-blind)
#5A9181
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5a9723;
/* rgb */ color: rgb(90, 151, 35);
/* oklch */ color: oklch(61.2% 0.158 133.7);
Tailwind
colors: {
  custom: {
    50: '#8eb667',
    500: '#5a9723',
    950: '#000000',
  },
}
SCSS
$custom: #5a9723;
$custom-light: #8eb667;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9723",
  "rgb": {
    "r": 90,
    "g": 151,
    "b": 35
  },
  "hsl": {
    "h": 91.552,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61209,
    "c": 0.15798,
    "h": 133.7
  },
  "luminance": 0.24428
}

Semantic roles & 50–950 ramp

primary
#5A9723
secondary
#8E58BE
accent
#42E598
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5A9723

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

Preview Lab → · Contrast checker → · Palette generator →

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