#5E7920#5E7920

#5E7920 is a mid, moderate yellow-green. Relative luminance 0.162; OKLCH L 53.7% C 0.118 H 125.0°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5E7920
RGBrgb(94, 121, 32)
HSLhsl(78, 58%, 30%)
HSVhsv(78, 74%, 47%)
CMYKcmyk(22.3%, 0%, 73.6%, 52.5%)
CIE-LABlab(47.18, -23.51, 43.19)
CIE-LCHlch(47.18, 49.17, 118.56°)
OKLaboklab(53.67% -0.0679 0.0969)
OKLCHoklch(53.67% 0.118 125)
XYZxyz(11.7143, 16.1586, 3.8680)
Luminance0.1616 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7920 #3B2079
analogous
#796720 #5E7920 #327920
triadic
#5E7920 #205E79 #79205E
tetradic
#5E7920 #207967 #3B2079 #792032
square
#5E7920 #207967 #3B2079 #792032
split-complementary
#5E7920 #203279 #672079
monochromatic
#131806 #384913 #5E7920 #84A92D #A5CE45

Accessibility & contrast

On white

4.96
#5E7920 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#5E7920 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7920
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7920#FFFFFF#000000##FFFFFF
##5E79201.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807111
Deuteranopia (green-blind)
#7C7028
Tritanopia (blue-blind)
#627368
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5e7920;
/* rgb */ color: rgb(94, 121, 32);
/* oklch */ color: oklch(53.7% 0.118 125.0);
Tailwind
colors: {
  custom: {
    50: '#8e9f62',
    500: '#5e7920',
    950: '#000000',
  },
}
SCSS
$custom: #5e7920;
$custom-light: #8e9f62;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7920",
  "rgb": {
    "r": 94,
    "g": 121,
    "b": 32
  },
  "hsl": {
    "h": 78.202,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.53667,
    "c": 0.11831,
    "h": 125
  },
  "luminance": 0.16159
}

Semantic roles & 50–950 ramp

primary
#5E7920
secondary
#6749AC
accent
#46E175
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0E05
muted
#7E7E7A

Preview Lab

Preview with #5E7920

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

Preview Lab → · Contrast checker → · Palette generator →

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