#5C9D2A#5C9D2A

#5C9D2A is a light, vivid yellow-green. Relative luminance 0.266; OKLCH L 62.9% C 0.160 H 134.6°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#5C9D2A
RGBrgb(92, 157, 42)
HSLhsl(94, 58%, 39%)
HSVhsv(94, 73%, 62%)
CMYKcmyk(41.4%, 0%, 73.2%, 38.4%)
CIE-LABlab(58.56, -40.29, 50.69)
CIE-LCHlch(58.56, 64.75, 128.48°)
OKLaboklab(62.93% -0.1127 0.1142)
OKLCHoklch(62.93% 0.16 134.6)
XYZxyz(16.8882, 26.5555, 6.4259)
Luminance0.2656 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C9D2A #6B2A9D
analogous
#969D2A #5C9D2A #2A9D32
triadic
#5C9D2A #2A5C9D #9D2A5C
tetradic
#5C9D2A #2A969D #6B2A9D #9D322A
square
#5C9D2A #2A969D #6B2A9D #9D322A
split-complementary
#5C9D2A #322A9D #9D2A96
monochromatic
#233C10 #406D1D #5C9D2A #79CA3A #9AD76A

Accessibility & contrast

On white

3.33
#5C9D2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#5C9D2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C9D2A
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C9D2A#FFFFFF#000000##000000
##5C9D2A1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39015
Deuteranopia (green-blind)
#9A8B35
Tritanopia (blue-blind)
#5B9787
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5c9d2a;
/* rgb */ color: rgb(92, 157, 42);
/* oklch */ color: oklch(62.9% 0.160 134.6);
Tailwind
colors: {
  custom: {
    50: '#90ba6b',
    500: '#5c9d2a',
    950: '#000000',
  },
}
SCSS
$custom: #5c9d2a;
$custom-light: #90ba6b;
$custom-dark: #000000;
JSON
{
  "hex": "#5c9d2a",
  "rgb": {
    "r": 92,
    "g": 157,
    "b": 42
  },
  "hsl": {
    "h": 93.913,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.62926,
    "c": 0.16039,
    "h": 134.6
  },
  "luminance": 0.26556
}

Semantic roles & 50–950 ramp

primary
#5C9D2A
secondary
#9765BE
accent
#47E19E
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5C9D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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