#5E7922#5E7922

#5E7922 is a mid, moderate yellow-green. Relative luminance 0.162; OKLCH L 53.7% C 0.117 H 125.2°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5E7922
RGBrgb(94, 121, 34)
HSLhsl(79, 56%, 30%)
HSVhsv(79, 72%, 47%)
CMYKcmyk(22.3%, 0%, 71.9%, 52.5%)
CIE-LABlab(47.20, -23.37, 42.39)
CIE-LCHlch(47.20, 48.41, 118.87°)
OKLaboklab(53.68% -0.0674 0.0955)
OKLCHoklch(53.68% 0.117 125.2)
XYZxyz(11.7423, 16.1698, 4.0155)
Luminance0.1617 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7922 #3D2279
analogous
#796822 #5E7922 #327922
triadic
#5E7922 #225E79 #79225E
tetradic
#5E7922 #227968 #3D2279 #792232
square
#5E7922 #227968 #3D2279 #792232
split-complementary
#5E7922 #223279 #682279
monochromatic
#141907 #394915 #5E7922 #83A92F #A3CC49

Accessibility & contrast

On white

4.96
#5E7922 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#5E7922 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7922
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7922#FFFFFF#000000##FFFFFF
##5E79221.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807114
Deuteranopia (green-blind)
#7C7029
Tritanopia (blue-blind)
#627368
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5e7922;
/* rgb */ color: rgb(94, 121, 34);
/* oklch */ color: oklch(53.7% 0.117 125.2);
Tailwind
colors: {
  custom: {
    50: '#8e9f63',
    500: '#5e7922',
    950: '#000000',
  },
}
SCSS
$custom: #5e7922;
$custom-light: #8e9f63;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7922",
  "rgb": {
    "r": 94,
    "g": 121,
    "b": 34
  },
  "hsl": {
    "h": 78.621,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53684,
    "c": 0.11688,
    "h": 125.2
  },
  "luminance": 0.1617
}

Semantic roles & 50–950 ramp

primary
#5E7922
secondary
#694BAC
accent
#48DF77
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0D0E05
muted
#7D7E7A

Preview Lab

Preview with #5E7922

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

Preview Lab → · Contrast checker → · Palette generator →

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