#5AA61F#5AA61F

#5AA61F is a light, vivid yellow-green. Relative luminance 0.295; OKLCH L 65.1% C 0.179 H 135.3°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#5AA61F
RGBrgb(90, 166, 31)
HSLhsl(94, 69%, 39%)
HSVhsv(94, 81%, 65%)
CMYKcmyk(45.8%, 0%, 81.3%, 34.9%)
CIE-LABlab(61.26, -45.35, 56.91)
CIE-LCHlch(61.26, 72.77, 128.55°)
OKLaboklab(65.09% -0.1269 0.1256)
OKLCHoklch(65.09% 0.179 135.3)
XYZxyz(18.0996, 29.5439, 6.0449)
Luminance0.2954 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA61F #6B1FA6
analogous
#9DA61F #5AA61F #1FA627
triadic
#5AA61F #1F5AA6 #A61F5A
tetradic
#5AA61F #1F9DA6 #6B1FA6 #A6271F
square
#5AA61F #1F9DA6 #6B1FA6 #A6271F
split-complementary
#5AA61F #271FA6 #A61F9D
monochromatic
#223F0C #3E7215 #5AA61F #76D72B #97E15E

Accessibility & contrast

On white

3.04
#5AA61F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#5AA61F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5AA61F
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA61F#FFFFFF#000000##000000
##5AA61F1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9800
Deuteranopia (green-blind)
#A2922F
Tritanopia (blue-blind)
#589F8D
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5aa61f;
/* rgb */ color: rgb(90, 166, 31);
/* oklch */ color: oklch(65.1% 0.179 135.3);
Tailwind
colors: {
  custom: {
    50: '#90c167',
    500: '#5aa61f',
    950: '#000000',
  },
}
SCSS
$custom: #5aa61f;
$custom-light: #90c167;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa61f",
  "rgb": {
    "r": 90,
    "g": 166,
    "b": 31
  },
  "hsl": {
    "h": 93.778,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.65094,
    "c": 0.17852,
    "h": 135.3
  },
  "luminance": 0.29545
}

Semantic roles & 50–950 ramp

primary
#5AA61F
secondary
#975BC5
accent
#3CEB9F
background
#F9FBF6
surface
#F2F7EB
border
#CCD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5AA61F

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

Preview Lab → · Contrast checker → · Palette generator →

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