#5A8C19#5A8C19

#5A8C19 is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.3% C 0.149 H 131.2°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#5A8C19
RGBrgb(90, 140, 25)
HSLhsl(86, 70%, 32%)
HSVhsv(86, 82%, 55%)
CMYKcmyk(35.7%, 0%, 82.1%, 45.1%)
CIE-LABlab(52.95, -34.59, 51.05)
CIE-LCHlch(52.95, 61.66, 124.12°)
OKLaboklab(58.28% -0.0983 0.1123)
OKLCHoklch(58.28% 0.149 131.2)
XYZxyz(13.7699, 20.9995, 4.2473)
Luminance0.2100 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8C19 #4B198C
analogous
#8C8519 #5A8C19 #208C19
triadic
#5A8C19 #195A8C #8C195A
tetradic
#5A8C19 #198C85 #4B198C #8C1920
square
#5A8C19 #198C85 #4B198C #8C1920
split-complementary
#5A8C19 #19208C #85198C
monochromatic
#172406 #395810 #5A8C19 #7BC022 #9ADD42

Accessibility & contrast

On white

4.04
#5A8C19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#5A8C19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8C19
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8C19#FFFFFF#000000##000000
##5A8C191.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#8C7D26
Tritanopia (blue-blind)
#5C8677
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5a8c19;
/* rgb */ color: rgb(90, 140, 25);
/* oklch */ color: oklch(58.3% 0.149 131.2);
Tailwind
colors: {
  custom: {
    50: '#8dae61',
    500: '#5a8c19',
    950: '#000000',
  },
}
SCSS
$custom: #5a8c19;
$custom-light: #8dae61;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8c19",
  "rgb": {
    "r": 90,
    "g": 140,
    "b": 25
  },
  "hsl": {
    "h": 86.087,
    "s": 69.697,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58279,
    "c": 0.14928,
    "h": 131.2
  },
  "luminance": 0.21
}

Semantic roles & 50–950 ramp

primary
#5A8C19
secondary
#7843BE
accent
#3BED88
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5A8C19

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

Preview Lab → · Contrast checker → · Palette generator →

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