#5E9528#5E9528

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

Color values

HEX#5E9528
RGBrgb(94, 149, 40)
HSLhsl(90, 58%, 37%)
HSVhsv(90, 73%, 58%)
CMYKcmyk(36.9%, 0%, 73.2%, 41.6%)
CIE-LABlab(56.11, -36.23, 49.02)
CIE-LCHlch(56.11, 60.95, 126.47°)
OKLaboklab(60.95% -0.1019 0.1104)
OKLCHoklch(60.95% 0.15 132.7)
XYZxyz(15.7463, 24.0271, 5.8151)
Luminance0.2403 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E9528 #5F2895
analogous
#959528 #5E9528 #289528
triadic
#5E9528 #285E95 #95285E
tetradic
#5E9528 #289595 #5F2895 #952828
square
#5E9528 #289595 #5F2895 #952828
split-complementary
#5E9528 #282895 #952895
monochromatic
#21350E #40651B #5E9528 #7CC535 #9BD562

Accessibility & contrast

On white

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

On black

5.81
#5E9528 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E9528
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E9528#FFFFFF#000000##000000
##5E95281.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e9528;
/* rgb */ color: rgb(94, 149, 40);
/* oklch */ color: oklch(60.9% 0.150 132.7);
Tailwind
colors: {
  custom: {
    50: '#90b469',
    500: '#5e9528',
    950: '#000000',
  },
}
SCSS
$custom: #5e9528;
$custom-light: #90b469;
$custom-dark: #000000;
JSON
{
  "hex": "#5e9528",
  "rgb": {
    "r": 94,
    "g": 149,
    "b": 40
  },
  "hsl": {
    "h": 90.275,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.60949,
    "c": 0.15023,
    "h": 132.7
  },
  "luminance": 0.24028
}

Semantic roles & 50–950 ramp

primary
#5E9528
secondary
#8D5EBB
accent
#47E195
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5E9528

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

Preview Lab → · Contrast checker → · Palette generator →

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