#5D8E16#5D8E16

#5D8E16 is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 59.0% C 0.151 H 130.5°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#5D8E16
RGBrgb(93, 142, 22)
HSLhsl(85, 73%, 32%)
HSVhsv(85, 85%, 56%)
CMYKcmyk(34.5%, 0%, 84.5%, 44.3%)
CIE-LABlab(53.74, -34.47, 52.67)
CIE-LCHlch(53.74, 62.95, 123.20°)
OKLaboklab(58.96% -0.0984 0.1152)
OKLCHoklch(58.96% 0.152 130.5)
XYZxyz(14.3319, 21.7306, 4.1982)
Luminance0.2173 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8E16 #47168E
analogous
#8E8316 #5D8E16 #218E16
triadic
#5D8E16 #165D8E #8E165D
tetradic
#5D8E16 #168E83 #47168E #8E1621
square
#5D8E16 #168E83 #47168E #8E1621
split-complementary
#5D8E16 #16218E #83168E
monochromatic
#182406 #3A590E #5D8E16 #80C31E #9EE13D

Accessibility & contrast

On white

3.93
#5D8E16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#5D8E16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8E16
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8E16#FFFFFF#000000##000000
##5D8E161.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#8E7F25
Tritanopia (blue-blind)
#5F8879
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5d8e16;
/* rgb */ color: rgb(93, 142, 22);
/* oklch */ color: oklch(59.0% 0.151 130.5);
Tailwind
colors: {
  custom: {
    50: '#90af60',
    500: '#5d8e16',
    950: '#000000',
  },
}
SCSS
$custom: #5d8e16;
$custom-light: #90af60;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8e16",
  "rgb": {
    "r": 93,
    "g": 142,
    "b": 22
  },
  "hsl": {
    "h": 84.5,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.58964,
    "c": 0.1515,
    "h": 130.5
  },
  "luminance": 0.21731
}

Semantic roles & 50–950 ramp

primary
#5D8E16
secondary
#743FC1
accent
#38F083
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5D8E16

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

Preview Lab → · Contrast checker → · Palette generator →

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