#5E7620#5E7620

#5E7620 is a mid, moderate yellow-green. Relative luminance 0.154; OKLCH L 52.9% C 0.114 H 123.9°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#5E7620
RGBrgb(94, 118, 32)
HSLhsl(77, 57%, 29%)
HSVhsv(77, 73%, 46%)
CMYKcmyk(20.3%, 0%, 72.9%, 53.7%)
CIE-LABlab(46.23, -21.98, 42.24)
CIE-LCHlch(46.23, 47.61, 117.50°)
OKLaboklab(52.9% -0.0637 0.0949)
OKLCHoklch(52.9% 0.114 123.9)
XYZxyz(11.3553, 15.4407, 3.7483)
Luminance0.1544 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7620 #382076
analogous
#766320 #5E7620 #337620
triadic
#5E7620 #205E76 #76205E
tetradic
#5E7620 #207663 #382076 #762033
square
#5E7620 #207663 #382076 #762033
split-complementary
#5E7620 #203376 #632076
monochromatic
#131807 #384613 #5E7620 #84A62D #A6CC44

Accessibility & contrast

On white

5.14
#5E7620 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5E7620
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7620#FFFFFF#000000##FFFFFF
##5E76201.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E12
Deuteranopia (green-blind)
#7A6D27
Tritanopia (blue-blind)
#637065
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5e7620;
/* rgb */ color: rgb(94, 118, 32);
/* oklch */ color: oklch(52.9% 0.114 123.9);
Tailwind
colors: {
  custom: {
    50: '#8e9d61',
    500: '#5e7620',
    950: '#000000',
  },
}
SCSS
$custom: #5e7620;
$custom-light: #8e9d61;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7620",
  "rgb": {
    "r": 94,
    "g": 118,
    "b": 32
  },
  "hsl": {
    "h": 76.744,
    "s": 57.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52899,
    "c": 0.11428,
    "h": 123.9
  },
  "luminance": 0.15441
}

Semantic roles & 50–950 ramp

primary
#5E7620
secondary
#6348A9
accent
#47E172
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0D0E05
muted
#7D7E79

Preview Lab

Preview with #5E7620

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

Preview Lab → · Contrast checker → · Palette generator →

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