#5CB226#5CB226

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

Color values

HEX#5CB226
RGBrgb(92, 178, 38)
HSLhsl(97, 65%, 42%)
HSVhsv(97, 79%, 70%)
CMYKcmyk(48.3%, 0%, 78.7%, 30.2%)
CIE-LABlab(65.16, -49.10, 58.48)
CIE-LCHlch(65.16, 76.36, 130.02°)
OKLaboklab(68.34% -0.1367 0.1299)
OKLCHoklch(68.34% 0.189 136.5)
XYZxyz(20.6833, 34.2546, 7.3553)
Luminance0.3426 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5CB226 #7C26B2
analogous
#A2B226 #5CB226 #26B236
triadic
#5CB226 #265CB2 #B2265C
tetradic
#5CB226 #26A2B2 #7C26B2 #B23626
square
#5CB226 #26A2B2 #7C26B2 #B23626
split-complementary
#5CB226 #3626B2 #B226A2
monochromatic
#284D10 #42801B #5CB226 #79D63F #9CE172

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5CB226#FFFFFF#000000##000000
##5CB2261.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: #5cb226;
/* rgb */ color: rgb(92, 178, 38);
/* oklch */ color: oklch(68.3% 0.189 136.5);
Tailwind
colors: {
  custom: {
    50: '#92ca6c',
    500: '#5cb226',
    950: '#000000',
  },
}
SCSS
$custom: #5cb226;
$custom-light: #92ca6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5cb226",
  "rgb": {
    "r": 92,
    "g": 178,
    "b": 38
  },
  "hsl": {
    "h": 96.857,
    "s": 64.815,
    "l": 42.353
  },
  "oklch": {
    "l": 0.68337,
    "c": 0.18855,
    "h": 136.5
  },
  "luminance": 0.34256
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5CB226

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

Preview Lab → · Contrast checker → · Palette generator →

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