#5CB227#5CB227

#5CB227 is a light, vivid yellow-green. Relative luminance 0.343; OKLCH L 68.3% C 0.188 H 136.5°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#5CB227
RGBrgb(92, 178, 39)
HSLhsl(97, 64%, 43%)
HSVhsv(97, 78%, 70%)
CMYKcmyk(48.3%, 0%, 78.1%, 30.2%)
CIE-LABlab(65.17, -49.04, 58.18)
CIE-LCHlch(65.17, 76.09, 130.13°)
OKLaboklab(68.34% -0.1365 0.1294)
OKLCHoklch(68.34% 0.188 136.5)
XYZxyz(20.6996, 34.2612, 7.4414)
Luminance0.3426 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5CB227 #7D27B2
analogous
#A2B227 #5CB227 #27B237
triadic
#5CB227 #275CB2 #B2275C
tetradic
#5CB227 #27A2B2 #7D27B2 #B23727
square
#5CB227 #27A2B2 #7D27B2 #B23727
split-complementary
#5CB227 #3727B2 #B227A2
monochromatic
#284E11 #42801C #5CB227 #79D541 #9DE073

Accessibility & contrast

On white

2.67
#5CB227 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#5CB227 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5CB227
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5CB227#FFFFFF#000000##000000
##5CB2271.002.677.857.85
#FFFFFF2.671.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A300
Deuteranopia (green-blind)
#AD9C36
Tritanopia (blue-blind)
#58AB98
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #5cb227;
/* rgb */ color: rgb(92, 178, 39);
/* oklch */ color: oklch(68.3% 0.188 136.5);
Tailwind
colors: {
  custom: {
    50: '#92ca6c',
    500: '#5cb227',
    950: '#000000',
  },
}
SCSS
$custom: #5cb227;
$custom-light: #92ca6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5cb227",
  "rgb": {
    "r": 92,
    "g": 178,
    "b": 39
  },
  "hsl": {
    "h": 97.122,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.68343,
    "c": 0.18806,
    "h": 136.5
  },
  "luminance": 0.34263
}

Semantic roles & 50–950 ramp

primary
#5CB227
secondary
#A56DC8
accent
#41E7A8
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5CB227

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

Preview Lab → · Contrast checker → · Palette generator →

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