#5CB12A#5CB12A

#5CB12A is a light, vivid yellow-green. Relative luminance 0.339; OKLCH L 68.1% C 0.185 H 136.7°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#5CB12A
RGBrgb(92, 177, 42)
HSLhsl(98, 62%, 43%)
HSVhsv(98, 76%, 69%)
CMYKcmyk(48%, 0%, 76.3%, 30.6%)
CIE-LABlab(64.87, -48.47, 56.92)
CIE-LCHlch(64.87, 74.76, 130.42°)
OKLaboklab(68.1% -0.1347 0.1272)
OKLCHoklch(68.1% 0.185 136.7)
XYZxyz(20.5531, 33.8854, 7.6476)
Luminance0.3389 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5CB12A #7F2AB1
analogous
#9FB12A #5CB12A #2AB13C
triadic
#5CB12A #2A5CB1 #B12A5C
tetradic
#5CB12A #2A9FB1 #7F2AB1 #B13C2A
square
#5CB12A #2A9FB1 #7F2AB1 #B13C2A
split-complementary
#5CB12A #3C2AB1 #B12A9F
monochromatic
#294E13 #42801E #5CB12A #7AD345 #9DDF77

Accessibility & contrast

On white

2.70
#5CB12A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#5CB12A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5CB12A
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5CB12A#FFFFFF#000000##000000
##5CB12A1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A209
Deuteranopia (green-blind)
#AC9B38
Tritanopia (blue-blind)
#58AA97
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #5cb12a;
/* rgb */ color: rgb(92, 177, 42);
/* oklch */ color: oklch(68.1% 0.185 136.7);
Tailwind
colors: {
  custom: {
    50: '#92c96e',
    500: '#5cb12a',
    950: '#000000',
  },
}
SCSS
$custom: #5cb12a;
$custom-light: #92c96e;
$custom-dark: #000000;
JSON
{
  "hex": "#5cb12a",
  "rgb": {
    "r": 92,
    "g": 177,
    "b": 42
  },
  "hsl": {
    "h": 97.778,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.68104,
    "c": 0.1853,
    "h": 136.7
  },
  "luminance": 0.33887
}

Semantic roles & 50–950 ramp

primary
#5CB12A
secondary
#A770C6
accent
#43E5A9
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5CB12A

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

Preview Lab → · Contrast checker → · Palette generator →

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