#5A8D10#5A8D10

#5A8D10 is a mid, vivid yellow-green. Relative luminance 0.213; OKLCH L 58.5% C 0.154 H 130.9°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#5A8D10
RGBrgb(90, 141, 16)
HSLhsl(84, 80%, 31%)
HSVhsv(84, 89%, 55%)
CMYKcmyk(36.2%, 0%, 88.7%, 44.7%)
CIE-LABlab(53.23, -35.40, 53.64)
CIE-LCHlch(53.23, 64.27, 123.43°)
OKLaboklab(58.5% -0.101 0.1164)
OKLCHoklch(58.5% 0.154 130.9)
XYZxyz(13.8348, 21.2603, 3.8648)
Luminance0.2126 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8D10 #43108D
analogous
#8D8110 #5A8D10 #1B8D10
triadic
#5A8D10 #105A8D #8D105A
tetradic
#5A8D10 #108D81 #43108D #8D101B
square
#5A8D10 #108D81 #43108D #8D101B
split-complementary
#5A8D10 #101B8D #81108D
monochromatic
#141F04 #37560A #5A8D10 #7DC416 #9DE730

Accessibility & contrast

On white

4.00
#5A8D10 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#5A8D10 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8D10
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8D10#FFFFFF#000000##000000
##5A8D101.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8D7E21
Tritanopia (blue-blind)
#5C8778
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5a8d10;
/* rgb */ color: rgb(90, 141, 16);
/* oklch */ color: oklch(58.5% 0.154 130.9);
Tailwind
colors: {
  custom: {
    50: '#8eae5e',
    500: '#5a8d10',
    950: '#000000',
  },
}
SCSS
$custom: #5a8d10;
$custom-light: #8eae5e;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8d10",
  "rgb": {
    "r": 90,
    "g": 141,
    "b": 16
  },
  "hsl": {
    "h": 84.48,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.58499,
    "c": 0.15415,
    "h": 130.9
  },
  "luminance": 0.21261
}

Semantic roles & 50–950 ramp

primary
#5A8D10
secondary
#7037C2
accent
#32F682
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D1005
muted
#7E7F79

Preview Lab

Preview with #5A8D10

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

Preview Lab → · Contrast checker → · Palette generator →

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