#5A9B2A#5A9B2A

#5A9B2A is a light, vivid yellow-green. Relative luminance 0.258; OKLCH L 62.3% C 0.159 H 134.9°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#5A9B2A
RGBrgb(90, 155, 42)
HSLhsl(95, 57%, 39%)
HSVhsv(95, 73%, 61%)
CMYKcmyk(41.9%, 0%, 72.9%, 39.2%)
CIE-LABlab(57.83, -40.13, 49.92)
CIE-LCHlch(57.83, 64.05, 128.79°)
OKLaboklab(62.3% -0.1121 0.1126)
OKLCHoklch(62.3% 0.159 134.9)
XYZxyz(16.3554, 25.7826, 6.3048)
Luminance0.2578 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9B2A #6B2A9B
analogous
#929B2A #5A9B2A #2A9B32
triadic
#5A9B2A #2A5A9B #9B2A5A
tetradic
#5A9B2A #2A929B #6B2A9B #9B322A
square
#5A9B2A #2A929B #6B2A9B #9B322A
split-complementary
#5A9B2A #322A9B #9B2A92
monochromatic
#223B10 #3E6B1D #5A9B2A #76C939 #97D669

Accessibility & contrast

On white

3.41
#5A9B2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#5A9B2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9B2A
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9B2A#FFFFFF#000000##000000
##5A9B2A1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E16
Deuteranopia (green-blind)
#988935
Tritanopia (blue-blind)
#599585
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5a9b2a;
/* rgb */ color: rgb(90, 155, 42);
/* oklch */ color: oklch(62.3% 0.159 134.9);
Tailwind
colors: {
  custom: {
    50: '#8eb96b',
    500: '#5a9b2a',
    950: '#000000',
  },
}
SCSS
$custom: #5a9b2a;
$custom-light: #8eb96b;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9b2a",
  "rgb": {
    "r": 90,
    "g": 155,
    "b": 42
  },
  "hsl": {
    "h": 94.513,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.62302,
    "c": 0.15887,
    "h": 134.9
  },
  "luminance": 0.25784
}

Semantic roles & 50–950 ramp

primary
#5A9B2A
secondary
#9764BD
accent
#47E19F
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5A9B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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