#5AA830#5AA830

#5AA830 is a light, vivid yellow-green. Relative luminance 0.304; OKLCH L 65.7% C 0.172 H 136.8°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#5AA830
RGBrgb(90, 168, 48)
HSLhsl(99, 56%, 42%)
HSVhsv(99, 71%, 66%)
CMYKcmyk(46.4%, 0%, 71.4%, 34.1%)
CIE-LABlab(61.99, -45.09, 51.85)
CIE-LCHlch(61.99, 68.72, 131.01°)
OKLaboklab(65.73% -0.1251 0.1175)
OKLCHoklch(65.73% 0.172 136.8)
XYZxyz(18.7520, 30.3911, 7.6737)
Luminance0.3039 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA830 #7E30A8
analogous
#96A830 #5AA830 #30A842
triadic
#5AA830 #305AA8 #A8305A
tetradic
#5AA830 #3096A8 #7E30A8 #A84230
square
#5AA830 #3096A8 #7E30A8 #A84230
split-complementary
#5AA830 #4230A8 #A83096
monochromatic
#274915 #417822 #5AA830 #77CB4A #9BD97A

Accessibility & contrast

On white

2.97
#5AA830 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#5AA830 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AA830
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA830#FFFFFF#000000##000000
##5AA8301.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A1C
Deuteranopia (green-blind)
#A3933B
Tritanopia (blue-blind)
#56A290
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5aa830;
/* rgb */ color: rgb(90, 168, 48);
/* oklch */ color: oklch(65.7% 0.172 136.8);
Tailwind
colors: {
  custom: {
    50: '#8fc270',
    500: '#5aa830',
    950: '#000000',
  },
}
SCSS
$custom: #5aa830;
$custom-light: #8fc270;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa830",
  "rgb": {
    "r": 90,
    "g": 168,
    "b": 48
  },
  "hsl": {
    "h": 99,
    "s": 55.556,
    "l": 42.353
  },
  "oklch": {
    "l": 0.65726,
    "c": 0.17161,
    "h": 136.8
  },
  "luminance": 0.30392
}

Semantic roles & 50–950 ramp

primary
#5AA830
secondary
#A673C1
accent
#49DFAA
background
#F9FCF7
surface
#F1F8ED
border
#CBD1C8
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5AA830

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

Preview Lab → · Contrast checker → · Palette generator →

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