#5E8013#5E8013

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

Color values

HEX#5E8013
RGBrgb(94, 128, 19)
HSLhsl(79, 74%, 29%)
HSVhsv(79, 85%, 50%)
CMYKcmyk(26.6%, 0%, 85.2%, 49.8%)
CIE-LABlab(49.33, -27.65, 49.61)
CIE-LCHlch(49.33, 56.80, 119.13°)
OKLaboklab(55.39% -0.0802 0.1082)
OKLCHoklch(55.39% 0.135 126.6)
XYZxyz(12.4529, 17.8648, 3.4081)
Luminance0.1787 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8013 #351380
analogous
#806C13 #5E8013 #278013
triadic
#5E8013 #135E80 #80135E
tetradic
#5E8013 #13806C #351380 #801327
square
#5E8013 #13806C #351380 #801327
split-complementary
#5E8013 #132780 #6C1380
monochromatic
#141B04 #374B0B #5E8013 #85B51B #A8E02D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E8013#FFFFFF#000000##FFFFFF
##5E80131.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: #5e8013;
/* rgb */ color: rgb(94, 128, 19);
/* oklch */ color: oklch(55.4% 0.135 126.6);
Tailwind
colors: {
  custom: {
    50: '#8fa55d',
    500: '#5e8013',
    950: '#000000',
  },
}
SCSS
$custom: #5e8013;
$custom-light: #8fa55d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8013",
  "rgb": {
    "r": 94,
    "g": 128,
    "b": 19
  },
  "hsl": {
    "h": 78.716,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.55387,
    "c": 0.13469,
    "h": 126.6
  },
  "luminance": 0.17865
}

Semantic roles & 50–950 ramp

primary
#5E8013
secondary
#6039B5
accent
#37F171
background
#F9FAF5
surface
#F1F4E9
border
#CBCEC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5E8013

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

Preview Lab → · Contrast checker → · Palette generator →

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