#5CB12D#5CB12D

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

Color values

HEX#5CB12D
RGBrgb(92, 177, 45)
HSLhsl(99, 59%, 44%)
HSVhsv(99, 75%, 69%)
CMYKcmyk(48%, 0%, 74.6%, 30.6%)
CIE-LABlab(64.89, -48.28, 55.90)
CIE-LCHlch(64.89, 73.86, 130.81°)
OKLaboklab(68.12% -0.134 0.1255)
OKLCHoklch(68.12% 0.184 136.9)
XYZxyz(20.6088, 33.9077, 7.9410)
Luminance0.3391 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5CB12D #822DB1
analogous
#9EB12D #5CB12D #2DB140
triadic
#5CB12D #2D5CB1 #B12D5C
tetradic
#5CB12D #2D9EB1 #822DB1 #B1402D
square
#5CB12D #2D9EB1 #822DB1 #B1402D
split-complementary
#5CB12D #402DB1 #B12D9E
monochromatic
#294F14 #438021 #5CB12D #7AD14A #9EDD7B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5CB12D#FFFFFF#000000##000000
##5CB12D1.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)
#B7A212
Deuteranopia (green-blind)
#AC9B3B
Tritanopia (blue-blind)
#57AB98
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #5cb12d;
/* rgb */ color: rgb(92, 177, 45);
/* oklch */ color: oklch(68.1% 0.184 136.9);
Tailwind
colors: {
  custom: {
    50: '#92c96f',
    500: '#5cb12d',
    950: '#000000',
  },
}
SCSS
$custom: #5cb12d;
$custom-light: #92c96f;
$custom-dark: #000000;
JSON
{
  "hex": "#5cb12d",
  "rgb": {
    "r": 92,
    "g": 177,
    "b": 45
  },
  "hsl": {
    "h": 98.636,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.68124,
    "c": 0.18362,
    "h": 136.9
  },
  "luminance": 0.33909
}

Semantic roles & 50–950 ramp

primary
#5CB12D
secondary
#A974C6
accent
#45E3AB
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5CB12D

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

Preview Lab → · Contrast checker → · Palette generator →

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