#5CB126#5CB126

#5CB126 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#5CB126
RGBrgb(92, 177, 38)
HSLhsl(97, 65%, 42%)
HSVhsv(97, 79%, 69%)
CMYKcmyk(48%, 0%, 78.5%, 30.6%)
CIE-LABlab(64.85, -48.71, 58.19)
CIE-LCHlch(64.85, 75.88, 129.93°)
OKLaboklab(68.08% -0.1356 0.1293)
OKLCHoklch(68.08% 0.187 136.4)
XYZxyz(20.4851, 33.8582, 7.2892)
Luminance0.3386 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5CB126 #7B26B1
analogous
#A1B126 #5CB126 #26B136
triadic
#5CB126 #265CB1 #B1265C
tetradic
#5CB126 #26A1B1 #7B26B1 #B13626
square
#5CB126 #26A1B1 #7B26B1 #B13626
split-complementary
#5CB126 #3626B1 #B126A1
monochromatic
#284C10 #427F1B #5CB126 #79D63F #9CE071

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5CB126#FFFFFF#000000##000000
##5CB1261.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: #5cb126;
/* rgb */ color: rgb(92, 177, 38);
/* oklch */ color: oklch(68.1% 0.187 136.4);
Tailwind
colors: {
  custom: {
    50: '#92c96c',
    500: '#5cb126',
    950: '#000000',
  },
}
SCSS
$custom: #5cb126;
$custom-light: #92c96c;
$custom-dark: #000000;
JSON
{
  "hex": "#5cb126",
  "rgb": {
    "r": 92,
    "g": 177,
    "b": 38
  },
  "hsl": {
    "h": 96.691,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.68079,
    "c": 0.18737,
    "h": 136.4
  },
  "luminance": 0.3386
}

Semantic roles & 50–950 ramp

primary
#5CB126
secondary
#A46BC7
accent
#40E8A7
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5CB126

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

Preview Lab → · Contrast checker → · Palette generator →

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