#5E9526#5E9526

#5E9526 is a mid, vivid yellow-green. Relative luminance 0.240; OKLCH L 60.9% C 0.151 H 132.6°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#5E9526
RGBrgb(94, 149, 38)
HSLhsl(90, 59%, 37%)
HSVhsv(90, 74%, 58%)
CMYKcmyk(36.9%, 0%, 74.5%, 41.6%)
CIE-LABlab(56.10, -36.37, 49.76)
CIE-LCHlch(56.10, 61.63, 126.16°)
OKLaboklab(60.93% -0.1025 0.1116)
OKLCHoklch(60.93% 0.151 132.6)
XYZxyz(15.7132, 24.0138, 5.6406)
Luminance0.2402 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E9526 #5D2695
analogous
#959526 #5E9526 #279526
triadic
#5E9526 #265E95 #95265E
tetradic
#5E9526 #269595 #5D2695 #952627
square
#5E9526 #269595 #5D2695 #952627
split-complementary
#5E9526 #262795 #952695
monochromatic
#20330D #3F641A #5E9526 #7DC632 #9BD65F

Accessibility & contrast

On white

3.62
#5E9526 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#5E9526 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E9526
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E9526#FFFFFF#000000##000000
##5E95261.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8911
Deuteranopia (green-blind)
#948531
Tritanopia (blue-blind)
#5F8F80
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5e9526;
/* rgb */ color: rgb(94, 149, 38);
/* oklch */ color: oklch(60.9% 0.151 132.6);
Tailwind
colors: {
  custom: {
    50: '#90b468',
    500: '#5e9526',
    950: '#000000',
  },
}
SCSS
$custom: #5e9526;
$custom-light: #90b468;
$custom-dark: #000000;
JSON
{
  "hex": "#5e9526",
  "rgb": {
    "r": 94,
    "g": 149,
    "b": 38
  },
  "hsl": {
    "h": 89.73,
    "s": 59.358,
    "l": 36.667
  },
  "oklch": {
    "l": 0.60934,
    "c": 0.15149,
    "h": 132.6
  },
  "luminance": 0.24015
}

Semantic roles & 50–950 ramp

primary
#5E9526
secondary
#8B5BBB
accent
#45E393
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5E9526

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

Preview Lab → · Contrast checker → · Palette generator →

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