#5E8016#5E8016

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

Color values

HEX#5E8016
RGBrgb(94, 128, 22)
HSLhsl(79, 71%, 29%)
HSVhsv(79, 83%, 50%)
CMYKcmyk(26.6%, 0%, 82.8%, 49.8%)
CIE-LABlab(49.34, -27.53, 48.76)
CIE-LCHlch(49.34, 55.99, 119.44°)
OKLaboklab(55.4% -0.0797 0.1069)
OKLCHoklch(55.4% 0.133 126.7)
XYZxyz(12.4801, 17.8757, 3.5517)
Luminance0.1788 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8016 #381680
analogous
#806D16 #5E8016 #298016
triadic
#5E8016 #165E80 #80165E
tetradic
#5E8016 #16806D #381680 #801629
square
#5E8016 #16806D #381680 #801629
split-complementary
#5E8016 #162980 #6D1680
monochromatic
#131A04 #384C0D #5E8016 #84B41F #A6DC34

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E8016#FFFFFF#000000##FFFFFF
##5E80161.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)
#827522
Tritanopia (blue-blind)
#627A6D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5e8016;
/* rgb */ color: rgb(94, 128, 22);
/* oklch */ color: oklch(55.4% 0.133 126.7);
Tailwind
colors: {
  custom: {
    50: '#8fa55e',
    500: '#5e8016',
    950: '#000000',
  },
}
SCSS
$custom: #5e8016;
$custom-light: #8fa55e;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8016",
  "rgb": {
    "r": 94,
    "g": 128,
    "b": 22
  },
  "hsl": {
    "h": 79.245,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.55402,
    "c": 0.13332,
    "h": 126.7
  },
  "luminance": 0.17876
}

Semantic roles & 50–950 ramp

primary
#5E8016
secondary
#633DB5
accent
#3AED74
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5E8016

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

Preview Lab → · Contrast checker → · Palette generator →

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