#5C7622#5C7622

#5C7622 is a mid, moderate yellow-green. Relative luminance 0.153; OKLCH L 52.8% C 0.114 H 125.1°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#5C7622
RGBrgb(92, 118, 34)
HSLhsl(79, 55%, 30%)
HSVhsv(79, 71%, 46%)
CMYKcmyk(22%, 0%, 71.2%, 53.7%)
CIE-LABlab(46.11, -22.71, 41.23)
CIE-LCHlch(46.11, 47.07, 118.85°)
OKLaboklab(52.77% -0.0654 0.0931)
OKLCHoklch(52.77% 0.114 125.1)
XYZxyz(11.1809, 15.3475, 3.8864)
Luminance0.1535 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7622 #3C2276
analogous
#766622 #5C7622 #327622
triadic
#5C7622 #225C76 #76225C
tetradic
#5C7622 #227666 #3C2276 #762232
square
#5C7622 #227666 #3C2276 #762232
split-complementary
#5C7622 #223276 #662276
monochromatic
#131807 #374614 #5C7622 #81A630 #A2CA48

Accessibility & contrast

On white

5.16
#5C7622 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#5C7622 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C7622
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7622#FFFFFF#000000##FFFFFF
##5C76221.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E15
Deuteranopia (green-blind)
#796D29
Tritanopia (blue-blind)
#607065
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5c7622;
/* rgb */ color: rgb(92, 118, 34);
/* oklch */ color: oklch(52.8% 0.114 125.1);
Tailwind
colors: {
  custom: {
    50: '#8d9d62',
    500: '#5c7622',
    950: '#000000',
  },
}
SCSS
$custom: #5c7622;
$custom-light: #8d9d62;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7622",
  "rgb": {
    "r": 92,
    "g": 118,
    "b": 34
  },
  "hsl": {
    "h": 78.571,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52766,
    "c": 0.1138,
    "h": 125.1
  },
  "luminance": 0.15348
}

Semantic roles & 50–950 ramp

primary
#5C7622
secondary
#684BA9
accent
#49DF77
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E05
muted
#7D7E7A

Preview Lab

Preview with #5C7622

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

Preview Lab → · Contrast checker → · Palette generator →

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