#5D7616#5D7616

#5D7616 is a mid, vivid yellow-green. Relative luminance 0.153; OKLCH L 52.8% C 0.121 H 123.8°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#5D7616
RGBrgb(93, 118, 22)
HSLhsl(76, 69%, 27%)
HSVhsv(76, 81%, 46%)
CMYKcmyk(21.2%, 0%, 81.4%, 53.7%)
CIE-LABlab(46.10, -22.99, 45.78)
CIE-LCHlch(46.10, 51.23, 116.67°)
OKLaboklab(52.75% -0.0673 0.1006)
OKLCHoklch(52.75% 0.121 123.8)
XYZxyz(11.1376, 15.3419, 3.1334)
Luminance0.1534 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7616 #2F1676
analogous
#765F16 #5D7616 #2D7616
triadic
#5D7616 #165D76 #76165D
tetradic
#5D7616 #16765F #2F1676 #76162D
square
#5D7616 #16765F #2F1676 #76162D
split-complementary
#5D7616 #162D76 #5F1676
monochromatic
#141A05 #34420C #5D7616 #86AA20 #ACD82E

Accessibility & contrast

On white

5.16
#5D7616 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#5D7616 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7616
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7616#FFFFFF#000000##FFFFFF
##5D76161.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#7A6D20
Tritanopia (blue-blind)
#627064
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5d7616;
/* rgb */ color: rgb(93, 118, 22);
/* oklch */ color: oklch(52.8% 0.121 123.8);
Tailwind
colors: {
  custom: {
    50: '#8e9d5c',
    500: '#5d7616',
    950: '#000000',
  },
}
SCSS
$custom: #5d7616;
$custom-light: #8e9d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7616",
  "rgb": {
    "r": 93,
    "g": 118,
    "b": 22
  },
  "hsl": {
    "h": 75.625,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.52753,
    "c": 0.12104,
    "h": 123.8
  },
  "luminance": 0.15342
}

Semantic roles & 50–950 ramp

primary
#5D7616
secondary
#593CAC
accent
#3CEB6A
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5D7616

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

Preview Lab → · Contrast checker → · Palette generator →

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