#5D7515#5D7515

#5D7515 is a mid, vivid yellow-green. Relative luminance 0.151; OKLCH L 52.5% C 0.120 H 123.4°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#5D7515
RGBrgb(93, 117, 21)
HSLhsl(75, 70%, 27%)
HSVhsv(75, 82%, 46%)
CMYKcmyk(20.5%, 0%, 82.1%, 54.1%)
CIE-LABlab(45.78, -22.53, 45.81)
CIE-LCHlch(45.78, 51.05, 116.19°)
OKLaboklab(52.49% -0.0661 0.1005)
OKLCHoklch(52.49% 0.12 123.4)
XYZxyz(11.0110, 15.1038, 3.0446)
Luminance0.1510 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7515 #2D1575
analogous
#755D15 #5D7515 #2D7515
triadic
#5D7515 #155D75 #75155D
tetradic
#5D7515 #15755D #2D1575 #75152D
square
#5D7515 #15755D #2D1575 #75152D
split-complementary
#5D7515 #152D75 #5D1575
monochromatic
#151A05 #34410C #5D7515 #86A91E #AED92B

Accessibility & contrast

On white

5.22
#5D7515 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#5D7515 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7515
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7515#FFFFFF#000000##FFFFFF
##5D75151.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#796C1F
Tritanopia (blue-blind)
#626F63
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5d7515;
/* rgb */ color: rgb(93, 117, 21);
/* oklch */ color: oklch(52.5% 0.120 123.4);
Tailwind
colors: {
  custom: {
    50: '#8e9c5c',
    500: '#5d7515',
    950: '#000000',
  },
}
SCSS
$custom: #5d7515;
$custom-light: #8e9c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7515",
  "rgb": {
    "r": 93,
    "g": 117,
    "b": 21
  },
  "hsl": {
    "h": 75,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.5249,
    "c": 0.12029,
    "h": 123.4
  },
  "luminance": 0.15104
}

Semantic roles & 50–950 ramp

primary
#5D7515
secondary
#573BAB
accent
#3BEC68
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5D7515

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

Preview Lab → · Contrast checker → · Palette generator →

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