#5CB228#5CB228

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

Color values

HEX#5CB228
RGBrgb(92, 178, 40)
HSLhsl(97, 63%, 43%)
HSVhsv(97, 78%, 70%)
CMYKcmyk(48.3%, 0%, 77.5%, 30.2%)
CIE-LABlab(65.17, -48.99, 57.86)
CIE-LCHlch(65.17, 75.81, 130.25°)
OKLaboklab(68.35% -0.1363 0.1289)
OKLCHoklch(68.35% 0.188 136.6)
XYZxyz(20.7164, 34.2679, 7.5298)
Luminance0.3427 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5CB228 #7E28B2
analogous
#A1B228 #5CB228 #28B239
triadic
#5CB228 #285CB2 #B2285C
tetradic
#5CB228 #28A1B2 #7E28B2 #B23928
square
#5CB228 #28A1B2 #7E28B2 #B23928
split-complementary
#5CB228 #3928B2 #B228A1
monochromatic
#284E12 #42801D #5CB228 #7AD543 #9DE075

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5CB228#FFFFFF#000000##000000
##5CB2281.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)
#B8A302
Deuteranopia (green-blind)
#AD9C37
Tritanopia (blue-blind)
#57AB98
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #5cb228;
/* rgb */ color: rgb(92, 178, 40);
/* oklch */ color: oklch(68.3% 0.188 136.6);
Tailwind
colors: {
  custom: {
    50: '#92ca6d',
    500: '#5cb228',
    950: '#000000',
  },
}
SCSS
$custom: #5cb228;
$custom-light: #92ca6d;
$custom-dark: #000000;
JSON
{
  "hex": "#5cb228",
  "rgb": {
    "r": 92,
    "g": 178,
    "b": 40
  },
  "hsl": {
    "h": 97.391,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.68349,
    "c": 0.18755,
    "h": 136.6
  },
  "luminance": 0.34269
}

Semantic roles & 50–950 ramp

primary
#5CB228
secondary
#A66FC7
accent
#41E6A8
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5CB228

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

Preview Lab → · Contrast checker → · Palette generator →

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