#5D7C16#5D7C16

#5D7C16 is a mid, vivid yellow-green. Relative luminance 0.168; OKLCH L 54.3% C 0.129 H 125.9°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#5D7C16
RGBrgb(93, 124, 22)
HSLhsl(78, 70%, 29%)
HSVhsv(78, 82%, 49%)
CMYKcmyk(25%, 0%, 82.3%, 51.4%)
CIE-LABlab(48.01, -25.99, 47.52)
CIE-LCHlch(48.01, 54.17, 118.68°)
OKLaboklab(54.3% -0.0755 0.1043)
OKLCHoklch(54.3% 0.129 125.9)
XYZxyz(11.8668, 16.8002, 3.3765)
Luminance0.1680 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7C16 #35167C
analogous
#7C6816 #5D7C16 #2A7C16
triadic
#5D7C16 #165D7C #7C165D
tetradic
#5D7C16 #167C68 #35167C #7C162A
square
#5D7C16 #167C68 #35167C #7C162A
split-complementary
#5D7C16 #162A7C #68167C
monochromatic
#131A05 #36480D #5D7C16 #84B01F #A7DB32

Accessibility & contrast

On white

4.82
#5D7C16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#5D7C16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7C16
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7C16#FFFFFF#000000##FFFFFF
##5D7C161.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7F7121
Tritanopia (blue-blind)
#617669
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5d7c16;
/* rgb */ color: rgb(93, 124, 22);
/* oklch */ color: oklch(54.3% 0.129 125.9);
Tailwind
colors: {
  custom: {
    50: '#8ea25d',
    500: '#5d7c16',
    950: '#000000',
  },
}
SCSS
$custom: #5d7c16;
$custom-light: #8ea25d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7c16",
  "rgb": {
    "r": 93,
    "g": 124,
    "b": 22
  },
  "hsl": {
    "h": 78.235,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.54299,
    "c": 0.12873,
    "h": 125.9
  },
  "luminance": 0.168
}

Semantic roles & 50–950 ramp

primary
#5D7C16
secondary
#603DB1
accent
#3BED71
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0F05
muted
#7E7E79

Preview Lab

Preview with #5D7C16

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

Preview Lab → · Contrast checker → · Palette generator →

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