#5A9013#5A9013

#5A9013 is a mid, vivid yellow-green. Relative luminance 0.222; OKLCH L 59.3% C 0.157 H 131.6°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#5A9013
RGBrgb(90, 144, 19)
HSLhsl(86, 77%, 32%)
HSVhsv(86, 87%, 56%)
CMYKcmyk(37.5%, 0%, 86.8%, 43.5%)
CIE-LABlab(54.20, -36.63, 53.78)
CIE-LCHlch(54.20, 65.07, 124.25°)
OKLaboklab(59.3% -0.1042 0.1172)
OKLCHoklch(59.3% 0.157 131.6)
XYZxyz(14.3071, 22.1666, 4.1407)
Luminance0.2217 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9013 #491390
analogous
#908813 #5A9013 #1C9013
triadic
#5A9013 #135A90 #90135A
tetradic
#5A9013 #139088 #491390 #90131C
square
#5A9013 #139088 #491390 #90131C
split-complementary
#5A9013 #131C90 #881390
monochromatic
#162405 #385A0C #5A9013 #7CC61A #9AE539

Accessibility & contrast

On white

3.86
#5A9013 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#5A9013 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9013
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9013#FFFFFF#000000##000000
##5A90131.003.865.435.43
#FFFFFF3.861.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#978400
Deuteranopia (green-blind)
#8F8023
Tritanopia (blue-blind)
#5B8A7A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5a9013;
/* rgb */ color: rgb(90, 144, 19);
/* oklch */ color: oklch(59.3% 0.157 131.6);
Tailwind
colors: {
  custom: {
    50: '#8eb15f',
    500: '#5a9013',
    950: '#000000',
  },
}
SCSS
$custom: #5a9013;
$custom-light: #8eb15f;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9013",
  "rgb": {
    "r": 90,
    "g": 144,
    "b": 19
  },
  "hsl": {
    "h": 85.92,
    "s": 76.687,
    "l": 31.961
  },
  "oklch": {
    "l": 0.59296,
    "c": 0.15678,
    "h": 131.6
  },
  "luminance": 0.22167
}

Semantic roles & 50–950 ramp

primary
#5A9013
secondary
#763BC4
accent
#35F387
background
#F9FAF5
surface
#F1F5EA
border
#CBCFC6
text
#0D1005
muted
#7E7F79

Preview Lab

Preview with #5A9013

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

Preview Lab → · Contrast checker → · Palette generator →

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