#5E9017#5E9017

#5E9017 is a mid, vivid yellow-green. Relative luminance 0.224; OKLCH L 59.5% C 0.153 H 130.6°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#5E9017
RGBrgb(94, 144, 23)
HSLhsl(85, 72%, 33%)
HSVhsv(85, 84%, 56%)
CMYKcmyk(34.7%, 0%, 84%, 43.5%)
CIE-LABlab(54.44, -34.95, 53.04)
CIE-LCHlch(54.44, 63.52, 123.38°)
OKLaboklab(59.55% -0.0997 0.1161)
OKLCHoklch(59.55% 0.153 130.6)
XYZxyz(14.7439, 22.3875, 4.3548)
Luminance0.2239 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E9017 #491790
analogous
#908517 #5E9017 #229017
triadic
#5E9017 #175E90 #90175E
tetradic
#5E9017 #179085 #491790 #901722
square
#5E9017 #179085 #491790 #901722
split-complementary
#5E9017 #172290 #851790
monochromatic
#192606 #3C5B0F #5E9017 #80C51F #9FE141

Accessibility & contrast

On white

3.83
#5E9017 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#5E9017 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E9017
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E9017#FFFFFF#000000##000000
##5E90171.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#908126
Tritanopia (blue-blind)
#60897A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5e9017;
/* rgb */ color: rgb(94, 144, 23);
/* oklch */ color: oklch(59.5% 0.153 130.6);
Tailwind
colors: {
  custom: {
    50: '#90b161',
    500: '#5e9017',
    950: '#000000',
  },
}
SCSS
$custom: #5e9017;
$custom-light: #90b161;
$custom-dark: #000000;
JSON
{
  "hex": "#5e9017",
  "rgb": {
    "r": 94,
    "g": 144,
    "b": 23
  },
  "hsl": {
    "h": 84.793,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.59548,
    "c": 0.15302,
    "h": 130.6
  },
  "luminance": 0.22388
}

Semantic roles & 50–950 ramp

primary
#5E9017
secondary
#7642C1
accent
#39EF84
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5E9017

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

Preview Lab → · Contrast checker → · Palette generator →

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