#5A9323#5A9323

#5A9323 is a mid, vivid yellow-green. Relative luminance 0.232; OKLCH L 60.2% C 0.153 H 133.1°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#5A9323
RGBrgb(90, 147, 35)
HSLhsl(91, 62%, 36%)
HSVhsv(91, 76%, 58%)
CMYKcmyk(38.8%, 0%, 76.2%, 42.4%)
CIE-LABlab(55.24, -37.14, 49.93)
CIE-LCHlch(55.24, 62.23, 126.65°)
OKLaboklab(60.17% -0.1045 0.1116)
OKLCHoklch(60.17% 0.153 133.1)
XYZxyz(14.9533, 23.1618, 5.2726)
Luminance0.2316 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9323 #5C2393
analogous
#929323 #5A9323 #239324
triadic
#5A9323 #235A93 #93235A
tetradic
#5A9323 #239293 #5C2393 #932423
square
#5A9323 #239293 #5C2393 #932423
split-complementary
#5A9323 #242393 #932392
monochromatic
#1D300B #3C6217 #5A9323 #78C42F #97D759

Accessibility & contrast

On white

3.73
#5A9323 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#5A9323 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9323
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9323#FFFFFF#000000##000000
##5A93231.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#99870B
Deuteranopia (green-blind)
#91832E
Tritanopia (blue-blind)
#5A8D7E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5a9323;
/* rgb */ color: rgb(90, 147, 35);
/* oklch */ color: oklch(60.2% 0.153 133.1);
Tailwind
colors: {
  custom: {
    50: '#8eb366',
    500: '#5a9323',
    950: '#000000',
  },
}
SCSS
$custom: #5a9323;
$custom-light: #8eb366;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9323",
  "rgb": {
    "r": 90,
    "g": 147,
    "b": 35
  },
  "hsl": {
    "h": 90.536,
    "s": 61.538,
    "l": 35.686
  },
  "oklch": {
    "l": 0.60167,
    "c": 0.15287,
    "h": 133.1
  },
  "luminance": 0.23162
}

Semantic roles & 50–950 ramp

primary
#5A9323
secondary
#8A56BC
accent
#43E595
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5A9323

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

Preview Lab → · Contrast checker → · Palette generator →

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