#5E7D20#5E7D20

#5E7D20 is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.7% C 0.124 H 126.4°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#5E7D20
RGBrgb(94, 125, 32)
HSLhsl(80, 59%, 31%)
HSVhsv(80, 74%, 49%)
CMYKcmyk(24.8%, 0%, 74.4%, 51%)
CIE-LABlab(48.45, -25.51, 44.45)
CIE-LCHlch(48.45, 51.25, 119.85°)
OKLaboklab(54.69% -0.0734 0.0995)
OKLCHoklch(54.69% 0.124 126.4)
XYZxyz(12.2105, 17.1510, 4.0334)
Luminance0.1715 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7D20 #3F207D
analogous
#7D6D20 #5E7D20 #2F7D20
triadic
#5E7D20 #205E7D #7D205E
tetradic
#5E7D20 #207D6D #3F207D #7D202F
square
#5E7D20 #207D6D #3F207D #7D202F
split-complementary
#5E7D20 #202F7D #6D207D
monochromatic
#151C07 #394C14 #5E7D20 #83AE2C #A2D047

Accessibility & contrast

On white

4.74
#5E7D20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#5E7D20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7D20
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7D20#FFFFFF#000000##FFFFFF
##5E7D201.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84740F
Deuteranopia (green-blind)
#807328
Tritanopia (blue-blind)
#62776B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5e7d20;
/* rgb */ color: rgb(94, 125, 32);
/* oklch */ color: oklch(54.7% 0.124 126.4);
Tailwind
colors: {
  custom: {
    50: '#8fa262',
    500: '#5e7d20',
    950: '#000000',
  },
}
SCSS
$custom: #5e7d20;
$custom-light: #8fa262;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7d20",
  "rgb": {
    "r": 94,
    "g": 125,
    "b": 32
  },
  "hsl": {
    "h": 80,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54694,
    "c": 0.12366,
    "h": 126.4
  },
  "luminance": 0.17151
}

Semantic roles & 50–950 ramp

primary
#5E7D20
secondary
#6B49B0
accent
#45E27A
background
#F9FAF6
surface
#F1F3EB
border
#CBCDC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #5E7D20

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

Preview Lab → · Contrast checker → · Palette generator →

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