#5E8018#5E8018

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

Color values

HEX#5E8018
RGBrgb(94, 128, 24)
HSLhsl(80, 68%, 30%)
HSVhsv(80, 81%, 50%)
CMYKcmyk(26.6%, 0%, 81.3%, 49.8%)
CIE-LABlab(49.35, -27.43, 48.15)
CIE-LCHlch(49.35, 55.42, 119.67°)
OKLaboklab(55.41% -0.0793 0.1059)
OKLCHoklch(55.41% 0.132 126.8)
XYZxyz(12.5002, 17.8837, 3.6573)
Luminance0.1788 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8018 #3A1880
analogous
#806E18 #5E8018 #2A8018
triadic
#5E8018 #185E80 #80185E
tetradic
#5E8018 #18806E #3A1880 #80182A
square
#5E8018 #18806E #3A1880 #80182A
split-complementary
#5E8018 #182A80 #6E1880
monochromatic
#131A05 #384C0E #5E8018 #84B422 #A5DA39

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #5e8018;
/* rgb */ color: rgb(94, 128, 24);
/* oklch */ color: oklch(55.4% 0.132 126.8);
Tailwind
colors: {
  custom: {
    50: '#8fa55f',
    500: '#5e8018',
    950: '#000000',
  },
}
SCSS
$custom: #5e8018;
$custom-light: #8fa55f;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8018",
  "rgb": {
    "r": 94,
    "g": 128,
    "b": 24
  },
  "hsl": {
    "h": 79.615,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.55413,
    "c": 0.13232,
    "h": 126.8
  },
  "luminance": 0.17884
}

Semantic roles & 50–950 ramp

primary
#5E8018
secondary
#6640B4
accent
#3DEB76
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5E8018

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

Preview Lab → · Contrast checker → · Palette generator →

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