#5E9C2A#5E9C2A

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

Color values

HEX#5E9C2A
RGBrgb(94, 156, 42)
HSLhsl(93, 58%, 39%)
HSVhsv(93, 73%, 61%)
CMYKcmyk(39.7%, 0%, 73.1%, 38.8%)
CIE-LABlab(58.34, -39.16, 50.50)
CIE-LCHlch(58.34, 63.90, 127.79°)
OKLaboklab(62.77% -0.1097 0.1137)
OKLCHoklch(62.77% 0.158 134)
XYZxyz(16.9222, 26.3230, 6.3792)
Luminance0.2632 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E9C2A #682A9C
analogous
#979C2A #5E9C2A #2A9C2F
triadic
#5E9C2A #2A5E9C #9C2A5E
tetradic
#5E9C2A #2A979C #682A9C #9C2F2A
square
#5E9C2A #2A979C #682A9C #9C2F2A
split-complementary
#5E9C2A #2F2A9C #9C2A97
monochromatic
#243C10 #416C1D #5E9C2A #7BCA39 #9BD76A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E9C2A#FFFFFF#000000##000000
##5E9C2A1.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)
#A28F16
Deuteranopia (green-blind)
#9A8A35
Tritanopia (blue-blind)
#5E9686
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5e9c2a;
/* rgb */ color: rgb(94, 156, 42);
/* oklch */ color: oklch(62.8% 0.158 134.0);
Tailwind
colors: {
  custom: {
    50: '#91b96b',
    500: '#5e9c2a',
    950: '#000000',
  },
}
SCSS
$custom: #5e9c2a;
$custom-light: #91b96b;
$custom-dark: #000000;
JSON
{
  "hex": "#5e9c2a",
  "rgb": {
    "r": 94,
    "g": 156,
    "b": 42
  },
  "hsl": {
    "h": 92.632,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.62774,
    "c": 0.15804,
    "h": 134
  },
  "luminance": 0.26324
}

Semantic roles & 50–950 ramp

primary
#5E9C2A
secondary
#9565BD
accent
#47E19B
background
#F9FBF6
surface
#F2F6EC
border
#CCD0C7
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5E9C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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