#5A941D#5A941D

#5A941D is a mid, vivid yellow-green. Relative luminance 0.234; OKLCH L 60.4% C 0.157 H 132.9°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#5A941D
RGBrgb(90, 148, 29)
HSLhsl(89, 67%, 35%)
HSVhsv(89, 80%, 58%)
CMYKcmyk(39.2%, 0%, 80.4%, 42%)
CIE-LABlab(55.52, -37.93, 52.20)
CIE-LCHlch(55.52, 64.52, 126.00°)
OKLaboklab(60.39% -0.107 0.1154)
OKLCHoklch(60.39% 0.157 132.9)
XYZxyz(15.0279, 23.4415, 4.8950)
Luminance0.2344 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A941D #571D94
analogous
#94931D #5A941D #1E941D
triadic
#5A941D #1D5A94 #941D5A
tetradic
#5A941D #1D9493 #571D94 #941D1E
square
#5A941D #1D9493 #571D94 #941D1E
split-complementary
#5A941D #1D1E94 #931D94
monochromatic
#1C2E09 #3B6113 #5A941D #79C727 #97DC4F

Accessibility & contrast

On white

3.69
#5A941D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#5A941D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A941D
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A941D#FFFFFF#000000##000000
##5A941D1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8800
Deuteranopia (green-blind)
#93832A
Tritanopia (blue-blind)
#5B8E7E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5a941d;
/* rgb */ color: rgb(90, 148, 29);
/* oklch */ color: oklch(60.4% 0.157 132.9);
Tailwind
colors: {
  custom: {
    50: '#8eb464',
    500: '#5a941d',
    950: '#000000',
  },
}
SCSS
$custom: #5a941d;
$custom-light: #8eb464;
$custom-dark: #000000;
JSON
{
  "hex": "#5a941d",
  "rgb": {
    "r": 90,
    "g": 148,
    "b": 29
  },
  "hsl": {
    "h": 89.244,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.6039,
    "c": 0.15739,
    "h": 132.9
  },
  "luminance": 0.23442
}

Semantic roles & 50–950 ramp

primary
#5A941D
secondary
#854EBF
accent
#3EEA92
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5A941D

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

Preview Lab → · Contrast checker → · Palette generator →

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