#5A9F16#5A9F16

#5A9F16 is a light, vivid yellow-green. Relative luminance 0.270; OKLCH L 63.2% C 0.174 H 134.0°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#5A9F16
RGBrgb(90, 159, 22)
HSLhsl(90, 76%, 35%)
HSVhsv(90, 86%, 62%)
CMYKcmyk(43.4%, 0%, 86.2%, 37.6%)
CIE-LABlab(59.00, -42.90, 57.25)
CIE-LCHlch(59.00, 71.54, 126.84°)
OKLaboklab(63.23% -0.1208 0.125)
OKLCHoklch(63.23% 0.174 134)
XYZxyz(16.7591, 27.0269, 5.0926)
Luminance0.2703 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9F16 #5B169F
analogous
#9E9F16 #5A9F16 #169F16
triadic
#5A9F16 #165A9F #9F165A
tetradic
#5A9F16 #169E9F #5B169F #9F1616
square
#5A9F16 #169E9F #5B169F #9F1616
split-complementary
#5A9F16 #16169F #9F169E
monochromatic
#1D3307 #3C690F #5A9F16 #78D51D #97E64A

Accessibility & contrast

On white

3.28
#5A9F16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#5A9F16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9F16
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9F16#FFFFFF#000000##000000
##5A9F161.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69100
Deuteranopia (green-blind)
#9C8C28
Tritanopia (blue-blind)
#599887
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5a9f16;
/* rgb */ color: rgb(90, 159, 22);
/* oklch */ color: oklch(63.2% 0.174 134.0);
Tailwind
colors: {
  custom: {
    50: '#8fbc63',
    500: '#5a9f16',
    950: '#000000',
  },
}
SCSS
$custom: #5a9f16;
$custom-light: #8fbc63;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9f16",
  "rgb": {
    "r": 90,
    "g": 159,
    "b": 22
  },
  "hsl": {
    "h": 90.219,
    "s": 75.691,
    "l": 35.49
  },
  "oklch": {
    "l": 0.63227,
    "c": 0.17382,
    "h": 134
  },
  "luminance": 0.27028
}

Semantic roles & 50–950 ramp

primary
#5A9F16
secondary
#894AC7
accent
#36F295
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5A9F16

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

Preview Lab → · Contrast checker → · Palette generator →

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