#5A9F2D#5A9F2D

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

Color values

HEX#5A9F2D
RGBrgb(90, 159, 45)
HSLhsl(96, 56%, 40%)
HSVhsv(96, 72%, 62%)
CMYKcmyk(43.4%, 0%, 71.7%, 37.6%)
CIE-LABlab(59.12, -41.60, 50.08)
CIE-LCHlch(59.12, 65.10, 129.72°)
OKLaboklab(63.37% -0.1158 0.1134)
OKLCHoklch(63.37% 0.162 135.6)
XYZxyz(17.0878, 27.1584, 6.8238)
Luminance0.2716 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9F2D #722D9F
analogous
#939F2D #5A9F2D #2D9F39
triadic
#5A9F2D #2D5A9F #9F2D5A
tetradic
#5A9F2D #2D939F #722D9F #9F392D
square
#5A9F2D #2D939F #722D9F #9F392D
split-complementary
#5A9F2D #392D9F #9F2D93
monochromatic
#244012 #3F6F20 #5A9F2D #76C940 #98D670

Accessibility & contrast

On white

3.27
#5A9F2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A9F2D#FFFFFF#000000##000000
##5A9F2D1.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a9f2d;
/* rgb */ color: rgb(90, 159, 45);
/* oklch */ color: oklch(63.4% 0.162 135.6);
Tailwind
colors: {
  custom: {
    50: '#8ebc6d',
    500: '#5a9f2d',
    950: '#000000',
  },
}
SCSS
$custom: #5a9f2d;
$custom-light: #8ebc6d;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9f2d",
  "rgb": {
    "r": 90,
    "g": 159,
    "b": 45
  },
  "hsl": {
    "h": 96.316,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.63366,
    "c": 0.16208,
    "h": 135.6
  },
  "luminance": 0.27159
}

Semantic roles & 50–950 ramp

primary
#5A9F2D
secondary
#9D6ABE
accent
#49DFA4
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5A9F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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