#5E8015#5E8015

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

Color values

HEX#5E8015
RGBrgb(94, 128, 21)
HSLhsl(79, 72%, 29%)
HSVhsv(79, 84%, 50%)
CMYKcmyk(26.6%, 0%, 83.6%, 49.8%)
CIE-LABlab(49.34, -27.57, 49.05)
CIE-LCHlch(49.34, 56.27, 119.34°)
OKLaboklab(55.4% -0.0799 0.1073)
OKLCHoklch(55.4% 0.134 126.7)
XYZxyz(12.4707, 17.8719, 3.5019)
Luminance0.1787 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8015 #371580
analogous
#806D15 #5E8015 #298015
triadic
#5E8015 #155E80 #80155E
tetradic
#5E8015 #15806D #371580 #801529
square
#5E8015 #15806D #371580 #801529
split-complementary
#5E8015 #152980 #6D1580
monochromatic
#131A04 #374B0C #5E8015 #85B51E #A7DD32

Accessibility & contrast

On white

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

On black

4.57
#5E8015 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5E8015#FFFFFF#000000##FFFFFF
##5E80151.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e8015;
/* rgb */ color: rgb(94, 128, 21);
/* oklch */ color: oklch(55.4% 0.134 126.7);
Tailwind
colors: {
  custom: {
    50: '#8fa55e',
    500: '#5e8015',
    950: '#000000',
  },
}
SCSS
$custom: #5e8015;
$custom-light: #8fa55e;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8015",
  "rgb": {
    "r": 94,
    "g": 128,
    "b": 21
  },
  "hsl": {
    "h": 79.065,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.55397,
    "c": 0.13379,
    "h": 126.7
  },
  "luminance": 0.17872
}

Semantic roles & 50–950 ramp

primary
#5E8015
secondary
#623CB5
accent
#39EF73
background
#F9FAF5
surface
#F1F4E9
border
#CBCEC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5E8015

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

Preview Lab → · Contrast checker → · Palette generator →

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