#5E7622#5E7622

#5E7622 is a mid, moderate yellow-green. Relative luminance 0.155; OKLCH L 52.9% C 0.113 H 124.0°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#5E7622
RGBrgb(94, 118, 34)
HSLhsl(77, 55%, 30%)
HSVhsv(77, 71%, 46%)
CMYKcmyk(20.3%, 0%, 71.2%, 53.7%)
CIE-LABlab(46.25, -21.85, 41.42)
CIE-LCHlch(46.25, 46.83, 117.81°)
OKLaboklab(52.92% -0.0631 0.0935)
OKLCHoklch(52.92% 0.113 124)
XYZxyz(11.3834, 15.4520, 3.8959)
Luminance0.1545 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7622 #3A2276
analogous
#766422 #5E7622 #347622
triadic
#5E7622 #225E76 #76225E
tetradic
#5E7622 #227664 #3A2276 #762234
square
#5E7622 #227664 #3A2276 #762234
split-complementary
#5E7622 #223476 #642276
monochromatic
#131807 #384614 #5E7622 #84A630 #A5CA48

Accessibility & contrast

On white

5.13
#5E7622 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#5E7622 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7622
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7622#FFFFFF#000000##FFFFFF
##5E76221.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E15
Deuteranopia (green-blind)
#7A6D29
Tritanopia (blue-blind)
#637065
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5e7622;
/* rgb */ color: rgb(94, 118, 34);
/* oklch */ color: oklch(52.9% 0.113 124.0);
Tailwind
colors: {
  custom: {
    50: '#8e9d62',
    500: '#5e7622',
    950: '#000000',
  },
}
SCSS
$custom: #5e7622;
$custom-light: #8e9d62;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7622",
  "rgb": {
    "r": 94,
    "g": 118,
    "b": 34
  },
  "hsl": {
    "h": 77.143,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52916,
    "c": 0.11281,
    "h": 124
  },
  "luminance": 0.15452
}

Semantic roles & 50–950 ramp

primary
#5E7622
secondary
#664BA9
accent
#49DF74
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0D0E05
muted
#7D7E7A

Preview Lab

Preview with #5E7622

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

Preview Lab → · Contrast checker → · Palette generator →

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