#5E8014#5E8014

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

Color values

HEX#5E8014
RGBrgb(94, 128, 20)
HSLhsl(79, 73%, 29%)
HSVhsv(79, 84%, 50%)
CMYKcmyk(26.6%, 0%, 84.4%, 49.8%)
CIE-LABlab(49.34, -27.61, 49.34)
CIE-LCHlch(49.34, 56.54, 119.23°)
OKLaboklab(55.39% -0.0801 0.1078)
OKLCHoklch(55.39% 0.134 126.6)
XYZxyz(12.4616, 17.8683, 3.4541)
Luminance0.1787 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8014 #361480
analogous
#806C14 #5E8014 #288014
triadic
#5E8014 #145E80 #80145E
tetradic
#5E8014 #14806C #361480 #801428
square
#5E8014 #14806C #361480 #801428
split-complementary
#5E8014 #142880 #6C1480
monochromatic
#131A04 #374B0C #5E8014 #85B51C #A8DF30

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #5e8014;
/* rgb */ color: rgb(94, 128, 20);
/* oklch */ color: oklch(55.4% 0.134 126.6);
Tailwind
colors: {
  custom: {
    50: '#8fa55d',
    500: '#5e8014',
    950: '#000000',
  },
}
SCSS
$custom: #5e8014;
$custom-light: #8fa55d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8014",
  "rgb": {
    "r": 94,
    "g": 128,
    "b": 20
  },
  "hsl": {
    "h": 78.889,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.55392,
    "c": 0.13425,
    "h": 126.6
  },
  "luminance": 0.17869
}

Semantic roles & 50–950 ramp

primary
#5E8014
secondary
#613BB5
accent
#38F072
background
#F9FAF5
surface
#F1F4E9
border
#CBCEC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5E8014

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

Preview Lab → · Contrast checker → · Palette generator →

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