#5D7E16#5D7E16

#5D7E16 is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 54.8% C 0.131 H 126.5°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#5D7E16
RGBrgb(93, 126, 22)
HSLhsl(79, 70%, 29%)
HSVhsv(79, 83%, 49%)
CMYKcmyk(26.2%, 0%, 82.5%, 50.6%)
CIE-LABlab(48.64, -26.97, 48.10)
CIE-LCHlch(48.64, 55.15, 119.28°)
OKLaboklab(54.82% -0.0781 0.1055)
OKLCHoklch(54.82% 0.131 126.5)
XYZxyz(12.1199, 17.3066, 3.4609)
Luminance0.1731 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7E16 #37167E
analogous
#7E6B16 #5D7E16 #297E16
triadic
#5D7E16 #165D7E #7E165D
tetradic
#5D7E16 #167E6B #37167E #7E1629
square
#5D7E16 #167E6B #37167E #7E1629
split-complementary
#5D7E16 #16297E #6B167E
monochromatic
#131A05 #374A0D #5D7E16 #83B21F #A6DB33

Accessibility & contrast

On white

4.71
#5D7E16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#5D7E16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7E16
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7E16#FFFFFF#000000##FFFFFF
##5D7E161.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#817321
Tritanopia (blue-blind)
#61786B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5d7e16;
/* rgb */ color: rgb(93, 126, 22);
/* oklch */ color: oklch(54.8% 0.131 126.5);
Tailwind
colors: {
  custom: {
    50: '#8fa35e',
    500: '#5d7e16',
    950: '#000000',
  },
}
SCSS
$custom: #5d7e16;
$custom-light: #8fa35e;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7e16",
  "rgb": {
    "r": 93,
    "g": 126,
    "b": 22
  },
  "hsl": {
    "h": 79.038,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.54816,
    "c": 0.1313,
    "h": 126.5
  },
  "luminance": 0.17307
}

Semantic roles & 50–950 ramp

primary
#5D7E16
secondary
#623DB3
accent
#3BED73
background
#F9FAF5
surface
#F1F3E9
border
#CBCDC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5D7E16

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

Preview Lab → · Contrast checker → · Palette generator →

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