#5A9F2E#5A9F2E

#5A9F2E is a light, vivid yellow-green. Relative luminance 0.272; OKLCH L 63.4% C 0.161 H 135.7°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#5A9F2E
RGBrgb(90, 159, 46)
HSLhsl(97, 55%, 40%)
HSVhsv(97, 71%, 62%)
CMYKcmyk(43.4%, 0%, 71.1%, 37.6%)
CIE-LABlab(59.13, -41.52, 49.69)
CIE-LCHlch(59.13, 64.76, 129.88°)
OKLaboklab(63.37% -0.1156 0.1127)
OKLCHoklch(63.37% 0.161 135.7)
XYZxyz(17.1073, 27.1662, 6.9264)
Luminance0.2717 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9F2E #732E9F
analogous
#939F2E #5A9F2E #2E9F3A
triadic
#5A9F2E #2E5A9F #9F2E5A
tetradic
#5A9F2E #2E939F #732E9F #9F3A2E
square
#5A9F2E #2E939F #732E9F #9F3A2E
split-complementary
#5A9F2E #3A2E9F #9F2E93
monochromatic
#244013 #3F7020 #5A9F2E #76C842 #99D671

Accessibility & contrast

On white

3.26
#5A9F2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#5A9F2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9F2E
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9F2E#FFFFFF#000000##000000
##5A9F2E1.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5921C
Deuteranopia (green-blind)
#9B8C38
Tritanopia (blue-blind)
#589989
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5a9f2e;
/* rgb */ color: rgb(90, 159, 46);
/* oklch */ color: oklch(63.4% 0.161 135.7);
Tailwind
colors: {
  custom: {
    50: '#8ebc6e',
    500: '#5a9f2e',
    950: '#000000',
  },
}
SCSS
$custom: #5a9f2e;
$custom-light: #8ebc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9f2e",
  "rgb": {
    "r": 90,
    "g": 159,
    "b": 46
  },
  "hsl": {
    "h": 96.637,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.63374,
    "c": 0.16142,
    "h": 135.7
  },
  "luminance": 0.27167
}

Semantic roles & 50–950 ramp

primary
#5A9F2E
secondary
#9D6BBE
accent
#49DEA4
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5A9F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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