#5A9130#5A9130

#5A9130 is a mid, vivid yellow-green. Relative luminance 0.226; OKLCH L 59.8% C 0.141 H 134.1°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#5A9130
RGBrgb(90, 145, 48)
HSLhsl(94, 50%, 38%)
HSVhsv(94, 67%, 57%)
CMYKcmyk(37.9%, 0%, 66.9%, 43.1%)
CIE-LABlab(54.70, -35.28, 44.20)
CIE-LCHlch(54.70, 56.56, 128.59°)
OKLaboklab(59.75% -0.0984 0.1014)
OKLCHoklch(59.75% 0.141 134.1)
XYZxyz(14.8751, 22.6372, 6.3814)
Luminance0.2264 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9130 #673091
analogous
#8A9130 #5A9130 #309137
triadic
#5A9130 #305A91 #91305A
tetradic
#5A9130 #308A91 #673091 #913730
square
#5A9130 #308A91 #673091 #913730
split-complementary
#5A9130 #373091 #91308A
monochromatic
#213512 #3D6321 #5A9130 #77BF3F #97CF6D

Accessibility & contrast

On white

3.80
#5A9130 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#5A9130 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9130
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9130#FFFFFF#000000##000000
##5A91301.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#978623
Deuteranopia (green-blind)
#8F8138
Tritanopia (blue-blind)
#5A8B7D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5a9130;
/* rgb */ color: rgb(90, 145, 48);
/* oklch */ color: oklch(59.8% 0.141 134.1);
Tailwind
colors: {
  custom: {
    50: '#8db16d',
    500: '#5a9130',
    950: '#000000',
  },
}
SCSS
$custom: #5a9130;
$custom-light: #8db16d;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9130",
  "rgb": {
    "r": 90,
    "g": 145,
    "b": 48
  },
  "hsl": {
    "h": 94.021,
    "s": 50.259,
    "l": 37.843
  },
  "oklch": {
    "l": 0.59754,
    "c": 0.14135,
    "h": 134.1
  },
  "luminance": 0.22638
}

Semantic roles & 50–950 ramp

primary
#5A9130
secondary
#9467B6
accent
#4EDA9D
background
#F8FAF6
surface
#F0F5EC
border
#CBCFC7
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #5A9130

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

Preview Lab → · Contrast checker → · Palette generator →

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