#5D7615#5D7615

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

Color values

HEX#5D7615
RGBrgb(93, 118, 21)
HSLhsl(75, 70%, 27%)
HSVhsv(75, 82%, 46%)
CMYKcmyk(21.2%, 0%, 82.2%, 53.7%)
CIE-LABlab(46.09, -23.04, 46.10)
CIE-LCHlch(46.09, 51.53, 116.56°)
OKLaboklab(52.75% -0.0675 0.1011)
OKLCHoklch(52.75% 0.122 123.7)
XYZxyz(11.1281, 15.3381, 3.0836)
Luminance0.1534 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7615 #2E1576
analogous
#765F15 #5D7615 #2D7615
triadic
#5D7615 #155D76 #76155D
tetradic
#5D7615 #15765F #2E1576 #76152D
square
#5D7615 #15765F #2E1576 #76152D
split-complementary
#5D7615 #152D76 #5F1576
monochromatic
#141A05 #34420C #5D7615 #86AA1E #ADD92C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D7615#FFFFFF#000000##FFFFFF
##5D76151.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)
#7A6D1F
Tritanopia (blue-blind)
#627064
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5d7615;
/* rgb */ color: rgb(93, 118, 21);
/* oklch */ color: oklch(52.7% 0.122 123.7);
Tailwind
colors: {
  custom: {
    50: '#8e9d5c',
    500: '#5d7615',
    950: '#000000',
  },
}
SCSS
$custom: #5d7615;
$custom-light: #8e9d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7615",
  "rgb": {
    "r": 93,
    "g": 118,
    "b": 21
  },
  "hsl": {
    "h": 75.464,
    "s": 69.784,
    "l": 27.255
  },
  "oklch": {
    "l": 0.52747,
    "c": 0.12157,
    "h": 123.7
  },
  "luminance": 0.15338
}

Semantic roles & 50–950 ramp

primary
#5D7615
secondary
#583BAC
accent
#3BED69
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5D7615

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

Preview Lab → · Contrast checker → · Palette generator →

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