#5E9728#5E9728

#5E9728 is a mid, vivid yellow-green. Relative luminance 0.247; OKLCH L 61.5% C 0.153 H 133.1°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#5E9728
RGBrgb(94, 151, 40)
HSLhsl(91, 58%, 37%)
HSVhsv(91, 74%, 59%)
CMYKcmyk(37.7%, 0%, 73.5%, 40.8%)
CIE-LABlab(56.75, -37.12, 49.65)
CIE-LCHlch(56.75, 61.99, 126.78°)
OKLaboklab(61.47% -0.1043 0.1117)
OKLCHoklch(61.47% 0.153 133.1)
XYZxyz(16.0655, 24.6654, 5.9215)
Luminance0.2467 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E9728 #612897
analogous
#959728 #5E9728 #28972A
triadic
#5E9728 #285E97 #97285E
tetradic
#5E9728 #289597 #612897 #972A28
square
#5E9728 #289597 #612897 #972A28
split-complementary
#5E9728 #2A2897 #972895
monochromatic
#22360E #40671B #5E9728 #7CC735 #9BD664

Accessibility & contrast

On white

3.54
#5E9728 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#5E9728 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E9728
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E9728#FFFFFF#000000##000000
##5E97281.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B14
Deuteranopia (green-blind)
#958733
Tritanopia (blue-blind)
#5E9181
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5e9728;
/* rgb */ color: rgb(94, 151, 40);
/* oklch */ color: oklch(61.5% 0.153 133.1);
Tailwind
colors: {
  custom: {
    50: '#90b669',
    500: '#5e9728',
    950: '#000000',
  },
}
SCSS
$custom: #5e9728;
$custom-light: #90b669;
$custom-dark: #000000;
JSON
{
  "hex": "#5e9728",
  "rgb": {
    "r": 94,
    "g": 151,
    "b": 40
  },
  "hsl": {
    "h": 90.811,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.61466,
    "c": 0.15283,
    "h": 133.1
  },
  "luminance": 0.24666
}

Semantic roles & 50–950 ramp

primary
#5E9728
secondary
#8F5FBC
accent
#46E196
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5E9728

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

Preview Lab → · Contrast checker → · Palette generator →

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