#5E801A#5E801A

#5E801A is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 55.4% C 0.131 H 126.9°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#5E801A
RGBrgb(94, 128, 26)
HSLhsl(80, 66%, 30%)
HSVhsv(80, 80%, 50%)
CMYKcmyk(26.6%, 0%, 79.7%, 49.8%)
CIE-LABlab(49.37, -27.33, 47.51)
CIE-LCHlch(49.37, 54.81, 119.91°)
OKLaboklab(55.43% -0.0789 0.1049)
OKLCHoklch(55.43% 0.131 126.9)
XYZxyz(12.5218, 17.8924, 3.7709)
Luminance0.1789 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E801A #3C1A80
analogous
#806F1A #5E801A #2B801A
triadic
#5E801A #1A5E80 #801A5E
tetradic
#5E801A #1A806F #3C1A80 #801A2B
square
#5E801A #1A806F #3C1A80 #801A2B
split-complementary
#5E801A #1A2B80 #6F1A80
monochromatic
#131A05 #394D10 #5E801A #83B324 #A4D83D

Accessibility & contrast

On white

4.59
#5E801A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#5E801A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5E801A
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E801A#FFFFFF#000000##FFFFFF
##5E801A1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#827524
Tritanopia (blue-blind)
#627A6D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5e801a;
/* rgb */ color: rgb(94, 128, 26);
/* oklch */ color: oklch(55.4% 0.131 126.9);
Tailwind
colors: {
  custom: {
    50: '#8fa560',
    500: '#5e801a',
    950: '#000000',
  },
}
SCSS
$custom: #5e801a;
$custom-light: #8fa560;
$custom-dark: #000000;
JSON
{
  "hex": "#5e801a",
  "rgb": {
    "r": 94,
    "g": 128,
    "b": 26
  },
  "hsl": {
    "h": 80,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.55425,
    "c": 0.13125,
    "h": 126.9
  },
  "luminance": 0.17893
}

Semantic roles & 50–950 ramp

primary
#5E801A
secondary
#6842B4
accent
#3FE977
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5E801A

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

Preview Lab → · Contrast checker → · Palette generator →

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