#5C9F1A#5C9F1A

#5C9F1A is a light, vivid yellow-green. Relative luminance 0.271; OKLCH L 63.3% C 0.171 H 133.8°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#5C9F1A
RGBrgb(92, 159, 26)
HSLhsl(90, 72%, 36%)
HSVhsv(90, 84%, 62%)
CMYKcmyk(42.1%, 0%, 83.6%, 37.6%)
CIE-LABlab(59.11, -42.04, 56.38)
CIE-LCHlch(59.11, 70.33, 126.71°)
OKLaboklab(63.35% -0.1184 0.1237)
OKLCHoklch(63.35% 0.171 133.8)
XYZxyz(16.9979, 27.1453, 5.3210)
Luminance0.2715 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C9F1A #5D1A9F
analogous
#9F9F1A #5C9F1A #1A9F1B
triadic
#5C9F1A #1A5C9F #9F1A5C
tetradic
#5C9F1A #1A9F9F #5D1A9F #9F1B1A
square
#5C9F1A #1A9F9F #5D1A9F #9F1B1A
split-complementary
#5C9F1A #1B1A9F #9F1A9F
monochromatic
#1F3609 #3E6A11 #5C9F1A #7AD423 #99E351

Accessibility & contrast

On white

3.27
#5C9F1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#5C9F1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C9F1A
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C9F1A#FFFFFF#000000##000000
##5C9F1A1.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#9D8C2A
Tritanopia (blue-blind)
#5C9887
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5c9f1a;
/* rgb */ color: rgb(92, 159, 26);
/* oklch */ color: oklch(63.3% 0.171 133.8);
Tailwind
colors: {
  custom: {
    50: '#90bc64',
    500: '#5c9f1a',
    950: '#000000',
  },
}
SCSS
$custom: #5c9f1a;
$custom-light: #90bc64;
$custom-dark: #000000;
JSON
{
  "hex": "#5c9f1a",
  "rgb": {
    "r": 92,
    "g": 159,
    "b": 26
  },
  "hsl": {
    "h": 90.226,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.63347,
    "c": 0.17123,
    "h": 133.8
  },
  "luminance": 0.27146
}

Semantic roles & 50–950 ramp

primary
#5C9F1A
secondary
#8B50C5
accent
#39EF95
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5C9F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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