#5A9733#5A9733

#5A9733 is a mid, vivid yellow-green. Relative luminance 0.245; OKLCH L 61.3% C 0.147 H 135.4°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#5A9733
RGBrgb(90, 151, 51)
HSLhsl(97, 50%, 40%)
HSVhsv(97, 66%, 59%)
CMYKcmyk(40.4%, 0%, 66.2%, 40.8%)
CIE-LABlab(56.63, -37.67, 44.98)
CIE-LCHlch(56.63, 58.67, 129.95°)
OKLaboklab(61.34% -0.1047 0.1035)
OKLCHoklch(61.34% 0.147 135.4)
XYZxyz(15.8802, 24.5451, 7.0323)
Luminance0.2455 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9733 #703397
analogous
#8C9733 #5A9733 #33973E
triadic
#5A9733 #335A97 #97335A
tetradic
#5A9733 #338C97 #703397 #973E33
square
#5A9733 #338C97 #703397 #973E33
split-complementary
#5A9733 #3E3397 #97338C
monochromatic
#233C14 #3F6924 #5A9733 #76C147 #98D074

Accessibility & contrast

On white

3.55
#5A9733 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#5A9733 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9733
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9733#FFFFFF#000000##000000
##5A97331.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8B26
Deuteranopia (green-blind)
#94863B
Tritanopia (blue-blind)
#589182
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5a9733;
/* rgb */ color: rgb(90, 151, 51);
/* oklch */ color: oklch(61.3% 0.147 135.4);
Tailwind
colors: {
  custom: {
    50: '#8db670',
    500: '#5a9733',
    950: '#000000',
  },
}
SCSS
$custom: #5a9733;
$custom-light: #8db670;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9733",
  "rgb": {
    "r": 90,
    "g": 151,
    "b": 51
  },
  "hsl": {
    "h": 96.6,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.61342,
    "c": 0.14721,
    "h": 135.4
  },
  "luminance": 0.24546
}

Semantic roles & 50–950 ramp

primary
#5A9733
secondary
#9B6DB8
accent
#4FD9A3
background
#F8FBF6
surface
#F0F6EC
border
#CBD0C7
text
#0D1108
muted
#7D807B

Preview Lab

Preview with #5A9733

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

Preview Lab → · Contrast checker → · Palette generator →

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