#5E8422#5E8422

#5E8422 is a mid, vivid yellow-green. Relative luminance 0.190; OKLCH L 56.5% C 0.132 H 128.6°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#5E8422
RGBrgb(94, 132, 34)
HSLhsl(83, 59%, 33%)
HSVhsv(83, 74%, 52%)
CMYKcmyk(28.8%, 0%, 74.2%, 48.2%)
CIE-LABlab(50.68, -28.79, 45.89)
CIE-LCHlch(50.68, 54.17, 122.10°)
OKLaboklab(56.51% -0.0822 0.1029)
OKLCHoklch(56.51% 0.132 128.6)
XYZxyz(13.1561, 18.9974, 4.4868)
Luminance0.1900 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8422 #482284
analogous
#847922 #5E8422 #2D8422
triadic
#5E8422 #225E84 #84225E
tetradic
#5E8422 #228479 #482284 #84222D
square
#5E8422 #228479 #482284 #84222D
split-complementary
#5E8422 #222D84 #792284
monochromatic
#192309 #3B5315 #5E8422 #81B52F #9FD24F

Accessibility & contrast

On white

4.38
#5E8422 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#5E8422 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8422
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8422#FFFFFF#000000##000000
##5E84221.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A10
Deuteranopia (green-blind)
#85782B
Tritanopia (blue-blind)
#617E71
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5e8422;
/* rgb */ color: rgb(94, 132, 34);
/* oklch */ color: oklch(56.5% 0.132 128.6);
Tailwind
colors: {
  custom: {
    50: '#8fa864',
    500: '#5e8422',
    950: '#000000',
  },
}
SCSS
$custom: #5e8422;
$custom-light: #8fa864;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8422",
  "rgb": {
    "r": 94,
    "g": 132,
    "b": 34
  },
  "hsl": {
    "h": 83.265,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56512,
    "c": 0.13167,
    "h": 128.6
  },
  "luminance": 0.18998
}

Semantic roles & 50–950 ramp

primary
#5E8422
secondary
#754DB5
accent
#46E282
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #5E8422

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

Preview Lab → · Contrast checker → · Palette generator →

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