#5E8618#5E8618

#5E8618 is a mid, vivid yellow-green. Relative luminance 0.195; OKLCH L 57.0% C 0.140 H 128.5°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#5E8618
RGBrgb(94, 134, 24)
HSLhsl(82, 70%, 31%)
HSVhsv(82, 82%, 53%)
CMYKcmyk(29.9%, 0%, 82.1%, 47.5%)
CIE-LABlab(51.26, -30.30, 49.90)
CIE-LCHlch(51.26, 58.38, 121.27°)
OKLaboklab(56.96% -0.0871 0.1096)
OKLCHoklch(56.96% 0.14 128.5)
XYZxyz(13.3061, 19.4955, 3.9259)
Luminance0.1950 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8618 #401886
analogous
#867718 #5E8618 #278618
triadic
#5E8618 #185E86 #86185E
tetradic
#5E8618 #188677 #401886 #861827
square
#5E8618 #188677 #401886 #861827
split-complementary
#5E8618 #182786 #771886
monochromatic
#151E05 #3A520F #5E8618 #82BA21 #A2DC3C

Accessibility & contrast

On white

4.29
#5E8618 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#5E8618 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8618
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8618#FFFFFF#000000##000000
##5E86181.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#877924
Tritanopia (blue-blind)
#618072
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5e8618;
/* rgb */ color: rgb(94, 134, 24);
/* oklch */ color: oklch(57.0% 0.140 128.5);
Tailwind
colors: {
  custom: {
    50: '#90a960',
    500: '#5e8618',
    950: '#000000',
  },
}
SCSS
$custom: #5e8618;
$custom-light: #90a960;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8618",
  "rgb": {
    "r": 94,
    "g": 134,
    "b": 24
  },
  "hsl": {
    "h": 81.818,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.56963,
    "c": 0.13999,
    "h": 128.5
  },
  "luminance": 0.19496
}

Semantic roles & 50–950 ramp

primary
#5E8618
secondary
#6C40BA
accent
#3BEC7C
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D1005
muted
#7E7F79

Preview Lab

Preview with #5E8618

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

Preview Lab → · Contrast checker → · Palette generator →

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