#5D7D16#5D7D16

#5D7D16 is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.6% C 0.130 H 126.2°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#5D7D16
RGBrgb(93, 125, 22)
HSLhsl(79, 70%, 29%)
HSVhsv(79, 82%, 49%)
CMYKcmyk(25.6%, 0%, 82.4%, 51%)
CIE-LABlab(48.33, -26.48, 47.81)
CIE-LCHlch(48.33, 54.66, 118.98°)
OKLaboklab(54.56% -0.0768 0.1049)
OKLCHoklch(54.56% 0.13 126.2)
XYZxyz(11.9927, 17.0521, 3.4185)
Luminance0.1705 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7D16 #36167D
analogous
#7D6A16 #5D7D16 #2A7D16
triadic
#5D7D16 #165D7D #7D165D
tetradic
#5D7D16 #167D6A #36167D #7D162A
square
#5D7D16 #167D6A #36167D #7D162A
split-complementary
#5D7D16 #162A7D #6A167D
monochromatic
#131A05 #36490D #5D7D16 #84B11F #A7DB32

Accessibility & contrast

On white

4.76
#5D7D16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#5D7D16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7D16
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7D16#FFFFFF#000000##FFFFFF
##5D7D161.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#807221
Tritanopia (blue-blind)
#61776A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5d7d16;
/* rgb */ color: rgb(93, 125, 22);
/* oklch */ color: oklch(54.6% 0.130 126.2);
Tailwind
colors: {
  custom: {
    50: '#8ea25e',
    500: '#5d7d16',
    950: '#000000',
  },
}
SCSS
$custom: #5d7d16;
$custom-light: #8ea25e;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7d16",
  "rgb": {
    "r": 93,
    "g": 125,
    "b": 22
  },
  "hsl": {
    "h": 78.641,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.54558,
    "c": 0.13001,
    "h": 126.2
  },
  "luminance": 0.17052
}

Semantic roles & 50–950 ramp

primary
#5D7D16
secondary
#613DB2
accent
#3BED72
background
#F9FAF5
surface
#F1F3E9
border
#CBCDC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5D7D16

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

Preview Lab → · Contrast checker → · Palette generator →

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