#5A8B19#5A8B19

#5A8B19 is a mid, vivid yellow-green. Relative luminance 0.207; OKLCH L 58.0% C 0.148 H 131.0°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#5A8B19
RGBrgb(90, 139, 25)
HSLhsl(86, 70%, 32%)
HSVhsv(86, 82%, 55%)
CMYKcmyk(35.3%, 0%, 82%, 45.5%)
CIE-LABlab(52.63, -34.14, 50.76)
CIE-LCHlch(52.63, 61.17, 123.93°)
OKLaboklab(58.02% -0.0971 0.1117)
OKLCHoklch(58.02% 0.148 131)
XYZxyz(13.6244, 20.7086, 4.1988)
Luminance0.2071 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8B19 #4A198B
analogous
#8B8319 #5A8B19 #218B19
triadic
#5A8B19 #195A8B #8B195A
tetradic
#5A8B19 #198B83 #4A198B #8B1921
square
#5A8B19 #198B83 #4A198B #8B1921
split-complementary
#5A8B19 #19218B #83198B
monochromatic
#172306 #385710 #5A8B19 #7CBF22 #9ADD41

Accessibility & contrast

On white

4.08
#5A8B19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#5A8B19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8B19
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8B19#FFFFFF#000000##000000
##5A8B191.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#8B7C26
Tritanopia (blue-blind)
#5C8576
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5a8b19;
/* rgb */ color: rgb(90, 139, 25);
/* oklch */ color: oklch(58.0% 0.148 131.0);
Tailwind
colors: {
  custom: {
    50: '#8dad61',
    500: '#5a8b19',
    950: '#000000',
  },
}
SCSS
$custom: #5a8b19;
$custom-light: #8dad61;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8b19",
  "rgb": {
    "r": 90,
    "g": 139,
    "b": 25
  },
  "hsl": {
    "h": 85.789,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.58017,
    "c": 0.14802,
    "h": 131
  },
  "luminance": 0.20709
}

Semantic roles & 50–950 ramp

primary
#5A8B19
secondary
#7742BE
accent
#3BEC87
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5A8B19

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

Preview Lab → · Contrast checker → · Palette generator →

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