#5E9722#5E9722

#5E9722 is a mid, vivid yellow-green. Relative luminance 0.246; OKLCH L 61.4% C 0.156 H 132.6°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#5E9722
RGBrgb(94, 151, 34)
HSLhsl(89, 63%, 36%)
HSVhsv(89, 77%, 59%)
CMYKcmyk(37.7%, 0%, 77.5%, 40.8%)
CIE-LABlab(56.71, -37.50, 51.77)
CIE-LCHlch(56.71, 63.92, 125.92°)
OKLaboklab(61.42% -0.1058 0.1152)
OKLCHoklch(61.42% 0.156 132.6)
XYZxyz(15.9712, 24.6277, 5.4252)
Luminance0.2463 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E9722 #5B2297
analogous
#979622 #5E9722 #249722
triadic
#5E9722 #225E97 #97225E
tetradic
#5E9722 #229796 #5B2297 #972224
square
#5E9722 #229796 #5B2297 #972224
split-complementary
#5E9722 #222497 #962297
monochromatic
#20330C #3F6517 #5E9722 #7DC92D #9BDA5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E9722#FFFFFF#000000##000000
##5E97221.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)
#9D8B05
Deuteranopia (green-blind)
#96862E
Tritanopia (blue-blind)
#5F9181
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5e9722;
/* rgb */ color: rgb(94, 151, 34);
/* oklch */ color: oklch(61.4% 0.156 132.6);
Tailwind
colors: {
  custom: {
    50: '#91b667',
    500: '#5e9722',
    950: '#000000',
  },
}
SCSS
$custom: #5e9722;
$custom-light: #91b667;
$custom-dark: #000000;
JSON
{
  "hex": "#5e9722",
  "rgb": {
    "r": 94,
    "g": 151,
    "b": 34
  },
  "hsl": {
    "h": 89.231,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61424,
    "c": 0.15641,
    "h": 132.6
  },
  "luminance": 0.24628
}

Semantic roles & 50–950 ramp

primary
#5E9722
secondary
#8957BE
accent
#42E692
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5E9722

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

Preview Lab → · Contrast checker → · Palette generator →

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