#5A9B2D#5A9B2D

#5A9B2D is a light, vivid yellow-green. Relative luminance 0.258; OKLCH L 62.3% C 0.157 H 135.2°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#5A9B2D
RGBrgb(90, 155, 45)
HSLhsl(95, 55%, 39%)
HSVhsv(95, 71%, 61%)
CMYKcmyk(41.9%, 0%, 71%, 39.2%)
CIE-LABlab(57.85, -39.90, 48.77)
CIE-LCHlch(57.85, 63.02, 129.29°)
OKLaboklab(62.33% -0.1113 0.1106)
OKLCHoklch(62.33% 0.157 135.2)
XYZxyz(16.4111, 25.8049, 6.5982)
Luminance0.2581 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9B2D #6E2D9B
analogous
#919B2D #5A9B2D #2D9B37
triadic
#5A9B2D #2D5A9B #9B2D5A
tetradic
#5A9B2D #2D919B #6E2D9B #9B372D
square
#5A9B2D #2D919B #6E2D9B #9B372D
split-complementary
#5A9B2D #372D9B #9B2D91
monochromatic
#233C11 #3E6C1F #5A9B2D #76C73E #98D56E

Accessibility & contrast

On white

3.41
#5A9B2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#5A9B2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9B2D
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9B2D#FFFFFF#000000##000000
##5A9B2D1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E1C
Deuteranopia (green-blind)
#988937
Tritanopia (blue-blind)
#589585
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5a9b2d;
/* rgb */ color: rgb(90, 155, 45);
/* oklch */ color: oklch(62.3% 0.157 135.2);
Tailwind
colors: {
  custom: {
    50: '#8eb96d',
    500: '#5a9b2d',
    950: '#000000',
  },
}
SCSS
$custom: #5a9b2d;
$custom-light: #8eb96d;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9b2d",
  "rgb": {
    "r": 90,
    "g": 155,
    "b": 45
  },
  "hsl": {
    "h": 95.455,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.62326,
    "c": 0.15689,
    "h": 135.2
  },
  "luminance": 0.25806
}

Semantic roles & 50–950 ramp

primary
#5A9B2D
secondary
#9A68BC
accent
#49DEA1
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5A9B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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