#5E8017#5E8017

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

Color values

HEX#5E8017
RGBrgb(94, 128, 23)
HSLhsl(79, 70%, 30%)
HSVhsv(79, 82%, 50%)
CMYKcmyk(26.6%, 0%, 82%, 49.8%)
CIE-LABlab(49.35, -27.48, 48.46)
CIE-LCHlch(49.35, 55.71, 119.56°)
OKLaboklab(55.41% -0.0795 0.1064)
OKLCHoklch(55.41% 0.133 126.8)
XYZxyz(12.4900, 17.8797, 3.6035)
Luminance0.1788 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8017 #391780
analogous
#806E17 #5E8017 #298017
triadic
#5E8017 #175E80 #80175E
tetradic
#5E8017 #17806E #391780 #801729
square
#5E8017 #17806E #391780 #801729
split-complementary
#5E8017 #172980 #6E1780
monochromatic
#131A05 #384C0E #5E8017 #84B420 #A6DB36

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E8017#FFFFFF#000000##FFFFFF
##5E80171.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: #5e8017;
/* rgb */ color: rgb(94, 128, 23);
/* oklch */ color: oklch(55.4% 0.133 126.8);
Tailwind
colors: {
  custom: {
    50: '#8fa55e',
    500: '#5e8017',
    950: '#000000',
  },
}
SCSS
$custom: #5e8017;
$custom-light: #8fa55e;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8017",
  "rgb": {
    "r": 94,
    "g": 128,
    "b": 23
  },
  "hsl": {
    "h": 79.429,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.55408,
    "c": 0.13282,
    "h": 126.8
  },
  "luminance": 0.1788
}

Semantic roles & 50–950 ramp

primary
#5E8017
secondary
#653EB4
accent
#3BEC75
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5E8017

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

Preview Lab → · Contrast checker → · Palette generator →

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