#5E9C28#5E9C28

#5E9C28 is a light, vivid yellow-green. Relative luminance 0.263; OKLCH L 62.8% C 0.159 H 133.8°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#5E9C28
RGBrgb(94, 156, 40)
HSLhsl(92, 59%, 38%)
HSVhsv(92, 74%, 61%)
CMYKcmyk(39.7%, 0%, 74.4%, 38.8%)
CIE-LABlab(58.33, -39.30, 51.23)
CIE-LCHlch(58.33, 64.56, 127.49°)
OKLaboklab(62.76% -0.1102 0.115)
OKLCHoklch(62.76% 0.159 133.8)
XYZxyz(16.8873, 26.3090, 6.1954)
Luminance0.2631 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E9C28 #66289C
analogous
#989C28 #5E9C28 #289C2C
triadic
#5E9C28 #285E9C #9C285E
tetradic
#5E9C28 #28989C #66289C #9C2C28
square
#5E9C28 #28989C #66289C #9C2C28
split-complementary
#5E9C28 #2C289C #9C2898
monochromatic
#233B0F #416B1C #5E9C28 #7BCB36 #9BD867

Accessibility & contrast

On white

3.35
#5E9C28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#5E9C28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E9C28
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E9C28#FFFFFF#000000##000000
##5E9C281.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F12
Deuteranopia (green-blind)
#9A8A33
Tritanopia (blue-blind)
#5E9686
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5e9c28;
/* rgb */ color: rgb(94, 156, 40);
/* oklch */ color: oklch(62.8% 0.159 133.8);
Tailwind
colors: {
  custom: {
    50: '#91b96a',
    500: '#5e9c28',
    950: '#000000',
  },
}
SCSS
$custom: #5e9c28;
$custom-light: #91b96a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e9c28",
  "rgb": {
    "r": 94,
    "g": 156,
    "b": 40
  },
  "hsl": {
    "h": 92.069,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.62759,
    "c": 0.15929,
    "h": 133.8
  },
  "luminance": 0.2631
}

Semantic roles & 50–950 ramp

primary
#5E9C28
secondary
#9362BE
accent
#45E299
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5E9C28

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

Preview Lab → · Contrast checker → · Palette generator →

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