#5D7815#5D7815

#5D7815 is a mid, vivid yellow-green. Relative luminance 0.158; OKLCH L 53.3% C 0.124 H 124.5°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#5D7815
RGBrgb(93, 120, 21)
HSLhsl(76, 70%, 28%)
HSVhsv(76, 83%, 47%)
CMYKcmyk(22.5%, 0%, 82.5%, 52.9%)
CIE-LABlab(46.73, -24.05, 46.67)
CIE-LCHlch(46.73, 52.51, 117.26°)
OKLaboklab(53.26% -0.0703 0.1023)
OKLCHoklch(53.26% 0.124 124.5)
XYZxyz(11.3662, 15.8141, 3.1629)
Luminance0.1581 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7815 #301578
analogous
#786215 #5D7815 #2B7815
triadic
#5D7815 #155D78 #78155D
tetradic
#5D7815 #157862 #301578 #78152B
square
#5D7815 #157862 #301578 #78152B
split-complementary
#5D7815 #152B78 #621578
monochromatic
#141A05 #35440C #5D7815 #85AC1E #ABDA2D

Accessibility & contrast

On white

5.04
#5D7815 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#5D7815 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7815
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7815#FFFFFF#000000##FFFFFF
##5D78151.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#7C6E1F
Tritanopia (blue-blind)
#627266
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5d7815;
/* rgb */ color: rgb(93, 120, 21);
/* oklch */ color: oklch(53.3% 0.124 124.5);
Tailwind
colors: {
  custom: {
    50: '#8e9f5c',
    500: '#5d7815',
    950: '#000000',
  },
}
SCSS
$custom: #5d7815;
$custom-light: #8e9f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7815",
  "rgb": {
    "r": 93,
    "g": 120,
    "b": 21
  },
  "hsl": {
    "h": 76.364,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.53262,
    "c": 0.12412,
    "h": 124.5
  },
  "luminance": 0.15814
}

Semantic roles & 50–950 ramp

primary
#5D7815
secondary
#5A3BAE
accent
#3BED6B
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5D7815

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

Preview Lab → · Contrast checker → · Palette generator →

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