#5A941E#5A941E

#5A941E 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#5A941E
RGBrgb(90, 148, 30)
HSLhsl(89, 66%, 35%)
HSVhsv(89, 80%, 58%)
CMYKcmyk(39.2%, 0%, 79.7%, 42%)
CIE-LABlab(55.53, -37.87, 51.89)
CIE-LCHlch(55.53, 64.24, 126.12°)
OKLaboklab(60.4% -0.1068 0.1149)
OKLCHoklch(60.4% 0.157 132.9)
XYZxyz(15.0405, 23.4465, 4.9612)
Luminance0.2345 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A941E #581E94
analogous
#94931E #5A941E #1F941E
triadic
#5A941E #1E5A94 #941E5A
tetradic
#5A941E #1E9493 #581E94 #941E1F
square
#5A941E #1E9493 #581E94 #941E1F
split-complementary
#5A941E #1E1F94 #931E94
monochromatic
#1C2E09 #3B6114 #5A941E #79C728 #97DC51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A941E#FFFFFF#000000##000000
##5A941E1.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)
#92832B
Tritanopia (blue-blind)
#5A8E7E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5a941e;
/* rgb */ color: rgb(90, 148, 30);
/* oklch */ color: oklch(60.4% 0.157 132.9);
Tailwind
colors: {
  custom: {
    50: '#8eb464',
    500: '#5a941e',
    950: '#000000',
  },
}
SCSS
$custom: #5a941e;
$custom-light: #8eb464;
$custom-dark: #000000;
JSON
{
  "hex": "#5a941e",
  "rgb": {
    "r": 90,
    "g": 148,
    "b": 30
  },
  "hsl": {
    "h": 89.492,
    "s": 66.292,
    "l": 34.902
  },
  "oklch": {
    "l": 0.60395,
    "c": 0.15689,
    "h": 132.9
  },
  "luminance": 0.23447
}

Semantic roles & 50–950 ramp

primary
#5A941E
secondary
#864FBF
accent
#3FE992
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5A941E

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

Preview Lab → · Contrast checker → · Palette generator →

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