#5CB12C#5CB12C

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

Color values

HEX#5CB12C
RGBrgb(92, 177, 44)
HSLhsl(98, 60%, 43%)
HSVhsv(98, 75%, 69%)
CMYKcmyk(48%, 0%, 75.1%, 30.6%)
CIE-LABlab(64.88, -48.34, 56.25)
CIE-LCHlch(64.88, 74.17, 130.68°)
OKLaboklab(68.12% -0.1343 0.1261)
OKLCHoklch(68.12% 0.184 136.8)
XYZxyz(20.5898, 33.9001, 7.8408)
Luminance0.3390 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5CB12C #812CB1
analogous
#9EB12C #5CB12C #2CB13E
triadic
#5CB12C #2C5CB1 #B12C5C
tetradic
#5CB12C #2C9EB1 #812CB1 #B13E2C
square
#5CB12C #2C9EB1 #812CB1 #B13E2C
split-complementary
#5CB12C #3E2CB1 #B12C9E
monochromatic
#294F14 #438020 #5CB12C #7AD249 #9EDE7A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5CB12C#FFFFFF#000000##000000
##5CB12C1.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)
#B7A20F
Deuteranopia (green-blind)
#AC9B3A
Tritanopia (blue-blind)
#57AA98
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #5cb12c;
/* rgb */ color: rgb(92, 177, 44);
/* oklch */ color: oklch(68.1% 0.184 136.8);
Tailwind
colors: {
  custom: {
    50: '#92c96f',
    500: '#5cb12c',
    950: '#000000',
  },
}
SCSS
$custom: #5cb12c;
$custom-light: #92c96f;
$custom-dark: #000000;
JSON
{
  "hex": "#5cb12c",
  "rgb": {
    "r": 92,
    "g": 177,
    "b": 44
  },
  "hsl": {
    "h": 98.346,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.68117,
    "c": 0.18419,
    "h": 136.8
  },
  "luminance": 0.33901
}

Semantic roles & 50–950 ramp

primary
#5CB12C
secondary
#A873C6
accent
#44E3AA
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5CB12C

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

Preview Lab → · Contrast checker → · Palette generator →

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