#5E7722#5E7722

#5E7722 is a mid, moderate yellow-green. Relative luminance 0.157; OKLCH L 53.2% C 0.114 H 124.4°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#5E7722
RGBrgb(94, 119, 34)
HSLhsl(78, 56%, 30%)
HSVhsv(78, 71%, 47%)
CMYKcmyk(21%, 0%, 71.4%, 53.3%)
CIE-LABlab(46.56, -22.36, 41.74)
CIE-LCHlch(46.56, 47.35, 118.17°)
OKLaboklab(53.17% -0.0646 0.0942)
OKLCHoklch(53.17% 0.114 124.4)
XYZxyz(11.5017, 15.6887, 3.9353)
Luminance0.1569 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7722 #3B2277
analogous
#776622 #5E7722 #337722
triadic
#5E7722 #225E77 #77225E
tetradic
#5E7722 #227766 #3B2277 #772233
square
#5E7722 #227766 #3B2277 #772233
split-complementary
#5E7722 #223377 #662277
monochromatic
#131807 #384714 #5E7722 #84A730 #A5CB49

Accessibility & contrast

On white

5.08
#5E7722 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#5E7722 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7722
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7722#FFFFFF#000000##FFFFFF
##5E77221.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F15
Deuteranopia (green-blind)
#7A6E29
Tritanopia (blue-blind)
#637166
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5e7722;
/* rgb */ color: rgb(94, 119, 34);
/* oklch */ color: oklch(53.2% 0.114 124.4);
Tailwind
colors: {
  custom: {
    50: '#8e9e63',
    500: '#5e7722',
    950: '#000000',
  },
}
SCSS
$custom: #5e7722;
$custom-light: #8e9e63;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7722",
  "rgb": {
    "r": 94,
    "g": 119,
    "b": 34
  },
  "hsl": {
    "h": 77.647,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.53172,
    "c": 0.11417,
    "h": 124.4
  },
  "luminance": 0.15689
}

Semantic roles & 50–950 ramp

primary
#5E7722
secondary
#674BAA
accent
#49DF75
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0D0E05
muted
#7D7E7A

Preview Lab

Preview with #5E7722

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

Preview Lab → · Contrast checker → · Palette generator →

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