#5E9828#5E9828

#5E9828 is a mid, vivid yellow-green. Relative luminance 0.250; OKLCH L 61.7% C 0.154 H 133.2°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#5E9828
RGBrgb(94, 152, 40)
HSLhsl(91, 58%, 38%)
HSVhsv(91, 74%, 60%)
CMYKcmyk(38.2%, 0%, 73.7%, 40.4%)
CIE-LABlab(57.06, -37.56, 49.97)
CIE-LCHlch(57.06, 62.51, 126.93°)
OKLaboklab(61.72% -0.1055 0.1123)
OKLCHoklch(61.72% 0.154 133.2)
XYZxyz(16.2271, 24.9886, 5.9754)
Luminance0.2499 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E9828 #622898
analogous
#969828 #5E9828 #28982A
triadic
#5E9828 #285E98 #98285E
tetradic
#5E9828 #289698 #622898 #982A28
square
#5E9828 #289698 #622898 #982A28
split-complementary
#5E9828 #2A2898 #982896
monochromatic
#22370F #40681B #5E9828 #7CC835 #9BD664

Accessibility & contrast

On white

3.50
#5E9828 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#5E9828 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E9828
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E9828#FFFFFF#000000##000000
##5E98281.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C14
Deuteranopia (green-blind)
#968733
Tritanopia (blue-blind)
#5E9282
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5e9828;
/* rgb */ color: rgb(94, 152, 40);
/* oklch */ color: oklch(61.7% 0.154 133.2);
Tailwind
colors: {
  custom: {
    50: '#90b76a',
    500: '#5e9828',
    950: '#000000',
  },
}
SCSS
$custom: #5e9828;
$custom-light: #90b76a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e9828",
  "rgb": {
    "r": 94,
    "g": 152,
    "b": 40
  },
  "hsl": {
    "h": 91.071,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.61725,
    "c": 0.15413,
    "h": 133.2
  },
  "luminance": 0.24989
}

Semantic roles & 50–950 ramp

primary
#5E9828
secondary
#9060BC
accent
#46E297
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5E9828

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

Preview Lab → · Contrast checker → · Palette generator →

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