#5D8F16#5D8F16

#5D8F16 is a mid, vivid yellow-green. Relative luminance 0.220; OKLCH L 59.2% C 0.153 H 130.7°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#5D8F16
RGBrgb(93, 143, 22)
HSLhsl(85, 73%, 32%)
HSVhsv(85, 85%, 56%)
CMYKcmyk(35%, 0%, 84.6%, 43.9%)
CIE-LABlab(54.06, -34.92, 52.96)
CIE-LCHlch(54.06, 63.44, 123.40°)
OKLaboklab(59.22% -0.0996 0.1158)
OKLCHoklch(59.22% 0.153 130.7)
XYZxyz(14.4814, 22.0295, 4.2480)
Luminance0.2203 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8F16 #48168F
analogous
#8F8416 #5D8F16 #218F16
triadic
#5D8F16 #165D8F #8F165D
tetradic
#5D8F16 #168F84 #48168F #8F1621
square
#5D8F16 #168F84 #48168F #8F1621
split-complementary
#5D8F16 #16218F #84168F
monochromatic
#182506 #3B5A0E #5D8F16 #7FC41E #9EE13E

Accessibility & contrast

On white

3.88
#5D8F16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#5D8F16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8F16
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8F16#FFFFFF#000000##000000
##5D8F161.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#8F8025
Tritanopia (blue-blind)
#5F8979
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5d8f16;
/* rgb */ color: rgb(93, 143, 22);
/* oklch */ color: oklch(59.2% 0.153 130.7);
Tailwind
colors: {
  custom: {
    50: '#90b060',
    500: '#5d8f16',
    950: '#000000',
  },
}
SCSS
$custom: #5d8f16;
$custom-light: #90b060;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8f16",
  "rgb": {
    "r": 93,
    "g": 143,
    "b": 22
  },
  "hsl": {
    "h": 84.793,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.59224,
    "c": 0.15275,
    "h": 130.7
  },
  "luminance": 0.2203
}

Semantic roles & 50–950 ramp

primary
#5D8F16
secondary
#753FC1
accent
#38F084
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5D8F16

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

Preview Lab → · Contrast checker → · Palette generator →

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