#5E9525#5E9525

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

Color values

HEX#5E9525
RGBrgb(94, 149, 37)
HSLhsl(89, 60%, 36%)
HSVhsv(89, 75%, 58%)
CMYKcmyk(36.9%, 0%, 75.2%, 41.6%)
CIE-LABlab(56.10, -36.43, 50.12)
CIE-LCHlch(56.10, 61.96, 126.01°)
OKLaboklab(60.93% -0.1027 0.1122)
OKLCHoklch(60.93% 0.152 132.5)
XYZxyz(15.6973, 24.0075, 5.5567)
Luminance0.2401 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E9525 #5C2595
analogous
#959425 #5E9525 #269525
triadic
#5E9525 #255E95 #95255E
tetradic
#5E9525 #259594 #5C2595 #952526
square
#5E9525 #259594 #5C2595 #952526
split-complementary
#5E9525 #252695 #942595
monochromatic
#20330D #3F6419 #5E9525 #7DC631 #9BD75E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E9525#FFFFFF#000000##000000
##5E95251.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)
#9B890E
Deuteranopia (green-blind)
#948530
Tritanopia (blue-blind)
#5F8F7F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5e9525;
/* rgb */ color: rgb(94, 149, 37);
/* oklch */ color: oklch(60.9% 0.152 132.5);
Tailwind
colors: {
  custom: {
    50: '#90b468',
    500: '#5e9525',
    950: '#000000',
  },
}
SCSS
$custom: #5e9525;
$custom-light: #90b468;
$custom-dark: #000000;
JSON
{
  "hex": "#5e9525",
  "rgb": {
    "r": 94,
    "g": 149,
    "b": 37
  },
  "hsl": {
    "h": 89.464,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.60927,
    "c": 0.15211,
    "h": 132.5
  },
  "luminance": 0.24008
}

Semantic roles & 50–950 ramp

primary
#5E9525
secondary
#8A5ABC
accent
#44E392
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5E9525

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

Preview Lab → · Contrast checker → · Palette generator →

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