#5CA228#5CA228

#5CA228 is a light, vivid yellow-green. Relative luminance 0.283; OKLCH L 64.2% C 0.168 H 135.1°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#5CA228
RGBrgb(92, 162, 40)
HSLhsl(94, 60%, 40%)
HSVhsv(94, 75%, 64%)
CMYKcmyk(43.2%, 0%, 75.3%, 36.5%)
CIE-LABlab(60.13, -42.53, 52.97)
CIE-LCHlch(60.13, 67.93, 128.76°)
OKLaboklab(64.21% -0.1189 0.1187)
OKLCHoklch(64.21% 0.168 135.1)
XYZxyz(17.7166, 28.2682, 6.5299)
Luminance0.2827 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5CA228 #6E28A2
analogous
#99A228 #5CA228 #28A231
triadic
#5CA228 #285CA2 #A2285C
tetradic
#5CA228 #2899A2 #6E28A2 #A23128
square
#5CA228 #2899A2 #6E28A2 #A23128
split-complementary
#5CA228 #3128A2 #A22899
monochromatic
#244010 #40711C #5CA228 #79CE39 #9ADA6A

Accessibility & contrast

On white

3.16
#5CA228 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#5CA228 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5CA228
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5CA228#FFFFFF#000000##000000
##5CA2281.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8950E
Deuteranopia (green-blind)
#9F8F34
Tritanopia (blue-blind)
#5A9C8B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5ca228;
/* rgb */ color: rgb(92, 162, 40);
/* oklch */ color: oklch(64.2% 0.168 135.1);
Tailwind
colors: {
  custom: {
    50: '#90be6b',
    500: '#5ca228',
    950: '#000000',
  },
}
SCSS
$custom: #5ca228;
$custom-light: #90be6b;
$custom-dark: #000000;
JSON
{
  "hex": "#5ca228",
  "rgb": {
    "r": 92,
    "g": 162,
    "b": 40
  },
  "hsl": {
    "h": 94.426,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.64208,
    "c": 0.16794,
    "h": 135.1
  },
  "luminance": 0.28269
}

Semantic roles & 50–950 ramp

primary
#5CA228
secondary
#9A65C1
accent
#44E4A0
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5CA228

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

Preview Lab → · Contrast checker → · Palette generator →

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