#5A9A2D#5A9A2D

#5A9A2D is a light, vivid yellow-green. Relative luminance 0.255; OKLCH L 62.1% C 0.156 H 135.0°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#5A9A2D
RGBrgb(90, 154, 45)
HSLhsl(95, 55%, 39%)
HSVhsv(95, 71%, 60%)
CMYKcmyk(41.6%, 0%, 70.8%, 39.6%)
CIE-LABlab(57.53, -39.48, 48.45)
CIE-LCHlch(57.53, 62.49, 129.17°)
OKLaboklab(62.07% -0.1101 0.1099)
OKLCHoklch(62.07% 0.156 135)
XYZxyz(16.2453, 25.4735, 6.5430)
Luminance0.2547 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9A2D #6D2D9A
analogous
#919A2D #5A9A2D #2D9A36
triadic
#5A9A2D #2D5A9A #9A2D5A
tetradic
#5A9A2D #2D919A #6D2D9A #9A362D
square
#5A9A2D #2D919A #6D2D9A #9A362D
split-complementary
#5A9A2D #362D9A #9A2D91
monochromatic
#233B11 #3E6B1F #5A9A2D #76C73E #98D46D

Accessibility & contrast

On white

3.45
#5A9A2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#5A9A2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9A2D
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9A2D#FFFFFF#000000##000000
##5A9A2D1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D1C
Deuteranopia (green-blind)
#978837
Tritanopia (blue-blind)
#599484
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5a9a2d;
/* rgb */ color: rgb(90, 154, 45);
/* oklch */ color: oklch(62.1% 0.156 135.0);
Tailwind
colors: {
  custom: {
    50: '#8eb86c',
    500: '#5a9a2d',
    950: '#000000',
  },
}
SCSS
$custom: #5a9a2d;
$custom-light: #8eb86c;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9a2d",
  "rgb": {
    "r": 90,
    "g": 154,
    "b": 45
  },
  "hsl": {
    "h": 95.229,
    "s": 54.774,
    "l": 39.02
  },
  "oklch": {
    "l": 0.62066,
    "c": 0.15558,
    "h": 135
  },
  "luminance": 0.25474
}

Semantic roles & 50–950 ramp

primary
#5A9A2D
secondary
#9967BB
accent
#4ADEA1
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5A9A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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