#5A9A1E#5A9A1E

#5A9A1E is a mid, vivid yellow-green. Relative luminance 0.254; OKLCH L 62.0% C 0.164 H 133.8°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#5A9A1E
RGBrgb(90, 154, 30)
HSLhsl(91, 67%, 36%)
HSVhsv(91, 81%, 60%)
CMYKcmyk(41.6%, 0%, 80.5%, 39.6%)
CIE-LABlab(57.44, -40.45, 53.68)
CIE-LCHlch(57.44, 67.21, 127.00°)
OKLaboklab(61.96% -0.1138 0.1186)
OKLCHoklch(61.96% 0.164 133.8)
XYZxyz(16.0061, 25.3778, 5.2831)
Luminance0.2538 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9A1E #5E1E9A
analogous
#989A1E #5A9A1E #1E9A20
triadic
#5A9A1E #1E5A9A #9A1E5A
tetradic
#5A9A1E #1E989A #5E1E9A #9A201E
square
#5A9A1E #1E989A #5E1E9A #9A201E
split-complementary
#5A9A1E #201E9A #9A1E98
monochromatic
#1E340A #3C6714 #5A9A1E #78CD28 #97DE55

Accessibility & contrast

On white

3.46
#5A9A1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#5A9A1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9A1E
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9A1E#FFFFFF#000000##000000
##5A9A1E1.003.466.086.08
#FFFFFF3.461.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#98882C
Tritanopia (blue-blind)
#5A9483
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5a9a1e;
/* rgb */ color: rgb(90, 154, 30);
/* oklch */ color: oklch(62.0% 0.164 133.8);
Tailwind
colors: {
  custom: {
    50: '#8fb865',
    500: '#5a9a1e',
    950: '#000000',
  },
}
SCSS
$custom: #5a9a1e;
$custom-light: #8fb865;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9a1e",
  "rgb": {
    "r": 90,
    "g": 154,
    "b": 30
  },
  "hsl": {
    "h": 90.968,
    "s": 67.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61961,
    "c": 0.16437,
    "h": 133.8
  },
  "luminance": 0.25379
}

Semantic roles & 50–950 ramp

primary
#5A9A1E
secondary
#8C53C1
accent
#3EEA97
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5A9A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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