#5A9E2C#5A9E2C

#5A9E2C is a light, vivid yellow-green. Relative luminance 0.268; OKLCH L 63.1% C 0.161 H 135.4°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#5A9E2C
RGBrgb(90, 158, 44)
HSLhsl(96, 56%, 40%)
HSVhsv(96, 72%, 62%)
CMYKcmyk(43%, 0%, 72.2%, 38%)
CIE-LABlab(58.80, -41.25, 50.13)
CIE-LCHlch(58.80, 64.92, 129.45°)
OKLaboklab(63.1% -0.115 0.1133)
OKLCHoklch(63.1% 0.161 135.4)
XYZxyz(16.8975, 26.8083, 6.6665)
Luminance0.2681 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9E2C #702C9E
analogous
#939E2C #5A9E2C #2C9E37
triadic
#5A9E2C #2C5A9E #9E2C5A
tetradic
#5A9E2C #2C939E #702C9E #9E372C
square
#5A9E2C #2C939E #702C9E #9E372C
split-complementary
#5A9E2C #372C9E #9E2C93
monochromatic
#233E11 #3F6E1F #5A9E2C #76C93E #98D76E

Accessibility & contrast

On white

3.30
#5A9E2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#5A9E2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9E2C
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9E2C#FFFFFF#000000##000000
##5A9E2C1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49119
Deuteranopia (green-blind)
#9B8B37
Tritanopia (blue-blind)
#589888
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5a9e2c;
/* rgb */ color: rgb(90, 158, 44);
/* oklch */ color: oklch(63.1% 0.161 135.4);
Tailwind
colors: {
  custom: {
    50: '#8ebb6c',
    500: '#5a9e2c',
    950: '#000000',
  },
}
SCSS
$custom: #5a9e2c;
$custom-light: #8ebb6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9e2c",
  "rgb": {
    "r": 90,
    "g": 158,
    "b": 44
  },
  "hsl": {
    "h": 95.789,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.63098,
    "c": 0.16145,
    "h": 135.4
  },
  "luminance": 0.26809
}

Semantic roles & 50–950 ramp

primary
#5A9E2C
secondary
#9B68BE
accent
#48E0A3
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5A9E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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