#5CB127#5CB127

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

Color values

HEX#5CB127
RGBrgb(92, 177, 39)
HSLhsl(97, 64%, 42%)
HSVhsv(97, 78%, 69%)
CMYKcmyk(48%, 0%, 78%, 30.6%)
CIE-LABlab(64.86, -48.65, 57.88)
CIE-LCHlch(64.86, 75.61, 130.05°)
OKLaboklab(68.08% -0.1354 0.1288)
OKLCHoklch(68.08% 0.187 136.4)
XYZxyz(20.5014, 33.8647, 7.3753)
Luminance0.3387 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5CB127 #7C27B1
analogous
#A1B127 #5CB127 #27B137
triadic
#5CB127 #275CB1 #B1275C
tetradic
#5CB127 #27A1B1 #7C27B1 #B13727
square
#5CB127 #27A1B1 #7C27B1 #B13727
split-complementary
#5CB127 #3727B1 #B127A1
monochromatic
#284D11 #427F1C #5CB127 #79D540 #9CE072

Accessibility & contrast

On white

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

On black

7.77
#5CB127 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5CB127
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5CB127#FFFFFF#000000##000000
##5CB1271.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5cb127;
/* rgb */ color: rgb(92, 177, 39);
/* oklch */ color: oklch(68.1% 0.187 136.4);
Tailwind
colors: {
  custom: {
    50: '#92c96c',
    500: '#5cb127',
    950: '#000000',
  },
}
SCSS
$custom: #5cb127;
$custom-light: #92c96c;
$custom-dark: #000000;
JSON
{
  "hex": "#5cb127",
  "rgb": {
    "r": 92,
    "g": 177,
    "b": 39
  },
  "hsl": {
    "h": 96.957,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.68085,
    "c": 0.18686,
    "h": 136.4
  },
  "luminance": 0.33866
}

Semantic roles & 50–950 ramp

primary
#5CB127
secondary
#A46DC7
accent
#41E7A7
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5CB127

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

Preview Lab → · Contrast checker → · Palette generator →

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