#5A9331#5A9331

#5A9331 is a mid, vivid yellow-green. Relative luminance 0.233; OKLCH L 60.3% C 0.143 H 134.6°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#5A9331
RGBrgb(90, 147, 49)
HSLhsl(95, 50%, 38%)
HSVhsv(95, 67%, 58%)
CMYKcmyk(38.8%, 0%, 66.7%, 42.4%)
CIE-LABlab(55.34, -36.08, 44.46)
CIE-LCHlch(55.34, 57.26, 129.06°)
OKLaboklab(60.28% -0.1006 0.1021)
OKLCHoklch(60.28% 0.143 134.6)
XYZxyz(15.2042, 23.2621, 6.5941)
Luminance0.2326 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9331 #6A3193
analogous
#8B9331 #5A9331 #319339
triadic
#5A9331 #315A93 #93315A
tetradic
#5A9331 #318B93 #6A3193 #933931
square
#5A9331 #318B93 #6A3193 #933931
split-complementary
#5A9331 #393193 #93318B
monochromatic
#223712 #3E6522 #5A9331 #76C041 #97CF6F

Accessibility & contrast

On white

3.72
#5A9331 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#5A9331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9331
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9331#FFFFFF#000000##000000
##5A93311.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#998724
Deuteranopia (green-blind)
#918339
Tritanopia (blue-blind)
#598D7F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5a9331;
/* rgb */ color: rgb(90, 147, 49);
/* oklch */ color: oklch(60.3% 0.143 134.6);
Tailwind
colors: {
  custom: {
    50: '#8db36e',
    500: '#5a9331',
    950: '#000000',
  },
}
SCSS
$custom: #5a9331;
$custom-light: #8db36e;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9331",
  "rgb": {
    "r": 90,
    "g": 147,
    "b": 49
  },
  "hsl": {
    "h": 94.898,
    "s": 50,
    "l": 38.431
  },
  "oklch": {
    "l": 0.60283,
    "c": 0.14331,
    "h": 134.6
  },
  "luminance": 0.23263
}

Semantic roles & 50–950 ramp

primary
#5A9331
secondary
#9669B7
accent
#4EDA9F
background
#F8FBF6
surface
#F0F6EC
border
#CBD0C7
text
#0D1107
muted
#7D807A

Preview Lab

Preview with #5A9331

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

Preview Lab → · Contrast checker → · Palette generator →

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