#5E7928#5E7928

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

Color values

HEX#5E7928
RGBrgb(94, 121, 40)
HSLhsl(80, 50%, 32%)
HSVhsv(80, 67%, 47%)
CMYKcmyk(22.3%, 0%, 66.9%, 52.5%)
CIE-LABlab(47.25, -22.92, 39.84)
CIE-LCHlch(47.25, 45.96, 119.92°)
OKLaboklab(53.74% -0.0655 0.0911)
OKLCHoklch(53.74% 0.112 125.7)
XYZxyz(11.8365, 16.2075, 4.5118)
Luminance0.1621 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7928 #432879
analogous
#796C28 #5E7928 #367928
triadic
#5E7928 #285E79 #79285E
tetradic
#5E7928 #28796C #432879 #792836
square
#5E7928 #28796C #432879 #792836
split-complementary
#5E7928 #283679 #6C2879
monochromatic
#171D0A #3A4B19 #5E7928 #82A737 #A1C755

Accessibility & contrast

On white

4.95
#5E7928 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#5E7928 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7928
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7928#FFFFFF#000000##FFFFFF
##5E79281.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e7928;
/* rgb */ color: rgb(94, 121, 40);
/* oklch */ color: oklch(53.7% 0.112 125.7);
Tailwind
colors: {
  custom: {
    50: '#8e9f66',
    500: '#5e7928',
    950: '#000000',
  },
}
SCSS
$custom: #5e7928;
$custom-light: #8e9f66;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7928",
  "rgb": {
    "r": 94,
    "g": 121,
    "b": 40
  },
  "hsl": {
    "h": 80,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53739,
    "c": 0.11219,
    "h": 125.7
  },
  "luminance": 0.16208
}

Semantic roles & 50–950 ramp

primary
#5E7928
secondary
#7052AB
accent
#4EDA7D
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #5E7928

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

Preview Lab → · Contrast checker → · Palette generator →

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