#5A8F19#5A8F19

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

Color values

HEX#5A8F19
RGBrgb(90, 143, 25)
HSLhsl(87, 70%, 33%)
HSVhsv(87, 83%, 56%)
CMYKcmyk(37.1%, 0%, 82.5%, 43.9%)
CIE-LABlab(53.91, -35.93, 51.92)
CIE-LCHlch(53.91, 63.14, 124.68°)
OKLaboklab(59.06% -0.1019 0.1142)
OKLCHoklch(59.06% 0.153 131.8)
XYZxyz(14.2142, 21.8882, 4.3954)
Luminance0.2189 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8F19 #4E198F
analogous
#8F8919 #5A8F19 #1F8F19
triadic
#5A8F19 #195A8F #8F195A
tetradic
#5A8F19 #198F89 #4E198F #8F191F
square
#5A8F19 #198F89 #4E198F #8F191F
split-complementary
#5A8F19 #191F8F #89198F
monochromatic
#182707 #395B10 #5A8F19 #7BC322 #99DE44

Accessibility & contrast

On white

3.90
#5A8F19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A8F19#FFFFFF#000000##000000
##5A8F191.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#8E7F27
Tritanopia (blue-blind)
#5B897A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5a8f19;
/* rgb */ color: rgb(90, 143, 25);
/* oklch */ color: oklch(59.1% 0.153 131.8);
Tailwind
colors: {
  custom: {
    50: '#8eb061',
    500: '#5a8f19',
    950: '#000000',
  },
}
SCSS
$custom: #5a8f19;
$custom-light: #8eb061;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8f19",
  "rgb": {
    "r": 90,
    "g": 143,
    "b": 25
  },
  "hsl": {
    "h": 86.949,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.59062,
    "c": 0.15305,
    "h": 131.8
  },
  "luminance": 0.21889
}

Semantic roles & 50–950 ramp

primary
#5A8F19
secondary
#7C44BF
accent
#3BED8B
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5A8F19

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

Preview Lab → · Contrast checker → · Palette generator →

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