#5A8F16#5A8F16

#5A8F16 is a mid, vivid yellow-green. Relative luminance 0.219; OKLCH L 59.0% C 0.154 H 131.6°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#5A8F16
RGBrgb(90, 143, 22)
HSLhsl(86, 73%, 32%)
HSVhsv(86, 85%, 56%)
CMYKcmyk(37.1%, 0%, 84.6%, 43.9%)
CIE-LABlab(53.90, -36.06, 52.75)
CIE-LCHlch(53.90, 63.90, 124.36°)
OKLaboklab(59.05% -0.1025 0.1154)
OKLCHoklch(59.05% 0.154 131.6)
XYZxyz(14.1836, 21.8759, 4.2341)
Luminance0.2188 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8F16 #4B168F
analogous
#8F8816 #5A8F16 #1E8F16
triadic
#5A8F16 #165A8F #8F165A
tetradic
#5A8F16 #168F88 #4B168F #8F161E
square
#5A8F16 #168F88 #4B168F #8F161E
split-complementary
#5A8F16 #161E8F #88168F
monochromatic
#172506 #395A0E #5A8F16 #7BC41E #9AE13E

Accessibility & contrast

On white

3.91
#5A8F16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#5A8F16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8F16
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8F16#FFFFFF#000000##000000
##5A8F161.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#968300
Deuteranopia (green-blind)
#8E7F25
Tritanopia (blue-blind)
#5C8979
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5a8f16;
/* rgb */ color: rgb(90, 143, 22);
/* oklch */ color: oklch(59.0% 0.154 131.6);
Tailwind
colors: {
  custom: {
    50: '#8eb060',
    500: '#5a8f16',
    950: '#000000',
  },
}
SCSS
$custom: #5a8f16;
$custom-light: #8eb060;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8f16",
  "rgb": {
    "r": 90,
    "g": 143,
    "b": 22
  },
  "hsl": {
    "h": 86.281,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.59047,
    "c": 0.15436,
    "h": 131.6
  },
  "luminance": 0.21877
}

Semantic roles & 50–950 ramp

primary
#5A8F16
secondary
#783FC1
accent
#38F088
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5A8F16

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

Preview Lab → · Contrast checker → · Palette generator →

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