#5E8722#5E8722

#5E8722 is a mid, vivid yellow-green. Relative luminance 0.198; OKLCH L 57.3% C 0.136 H 129.4°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5E8722
RGBrgb(94, 135, 34)
HSLhsl(84, 60%, 33%)
HSVhsv(84, 75%, 53%)
CMYKcmyk(30.4%, 0%, 74.8%, 47.1%)
CIE-LABlab(51.64, -30.22, 46.84)
CIE-LCHlch(51.64, 55.74, 122.83°)
OKLaboklab(57.29% -0.0861 0.1048)
OKLCHoklch(57.29% 0.136 129.4)
XYZxyz(13.5688, 19.8227, 4.6243)
Luminance0.1982 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8722 #4B2287
analogous
#877D22 #5E8722 #2C8722
triadic
#5E8722 #225E87 #87225E
tetradic
#5E8722 #22877D #4B2287 #87222C
square
#5E8722 #22877D #4B2287 #87222C
split-complementary
#5E8722 #222C87 #7D2287
monochromatic
#1A2509 #3C5616 #5E8722 #80B82E #9ED350

Accessibility & contrast

On white

4.23
#5E8722 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#5E8722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8722
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8722#FFFFFF#000000##000000
##5E87221.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D0F
Deuteranopia (green-blind)
#887A2B
Tritanopia (blue-blind)
#618173
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5e8722;
/* rgb */ color: rgb(94, 135, 34);
/* oklch */ color: oklch(57.3% 0.136 129.4);
Tailwind
colors: {
  custom: {
    50: '#8faa64',
    500: '#5e8722',
    950: '#000000',
  },
}
SCSS
$custom: #5e8722;
$custom-light: #8faa64;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8722",
  "rgb": {
    "r": 94,
    "g": 135,
    "b": 34
  },
  "hsl": {
    "h": 84.356,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57286,
    "c": 0.13564,
    "h": 129.4
  },
  "luminance": 0.19823
}

Semantic roles & 50–950 ramp

primary
#5E8722
secondary
#794EB7
accent
#45E385
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5E8722

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

Preview Lab → · Contrast checker → · Palette generator →

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