#5A911D#5A911D

#5A911D is a mid, vivid yellow-green. Relative luminance 0.225; OKLCH L 59.6% C 0.154 H 132.4°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#5A911D
RGBrgb(90, 145, 29)
HSLhsl(88, 67%, 34%)
HSVhsv(88, 80%, 57%)
CMYKcmyk(37.9%, 0%, 80%, 43.1%)
CIE-LABlab(54.57, -36.61, 51.31)
CIE-LCHlch(54.57, 63.03, 125.51°)
OKLaboklab(59.61% -0.1035 0.1135)
OKLCHoklch(59.61% 0.154 132.4)
XYZxyz(14.5634, 22.5125, 4.7402)
Luminance0.2251 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A911D #541D91
analogous
#918E1D #5A911D #20911D
triadic
#5A911D #1D5A91 #911D5A
tetradic
#5A911D #1D918E #541D91 #911D20
square
#5A911D #1D918E #541D91 #911D20
split-complementary
#5A911D #1D2091 #8E1D91
monochromatic
#1B2B09 #3A5E13 #5A911D #7AC427 #98DB4D

Accessibility & contrast

On white

3.82
#5A911D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#5A911D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A911D
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A911D#FFFFFF#000000##000000
##5A911D1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#90812A
Tritanopia (blue-blind)
#5B8B7C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5a911d;
/* rgb */ color: rgb(90, 145, 29);
/* oklch */ color: oklch(59.6% 0.154 132.4);
Tailwind
colors: {
  custom: {
    50: '#8eb163',
    500: '#5a911d',
    950: '#000000',
  },
}
SCSS
$custom: #5a911d;
$custom-light: #8eb163;
$custom-dark: #000000;
JSON
{
  "hex": "#5a911d",
  "rgb": {
    "r": 90,
    "g": 145,
    "b": 29
  },
  "hsl": {
    "h": 88.448,
    "s": 66.667,
    "l": 34.118
  },
  "oklch": {
    "l": 0.59606,
    "c": 0.15363,
    "h": 132.4
  },
  "luminance": 0.22513
}

Semantic roles & 50–950 ramp

primary
#5A911D
secondary
#824CBE
accent
#3EEA8F
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5A911D

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

Preview Lab → · Contrast checker → · Palette generator →

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