#5D7518#5D7518

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

Color values

HEX#5D7518
RGBrgb(93, 117, 24)
HSLhsl(75, 66%, 28%)
HSVhsv(75, 79%, 46%)
CMYKcmyk(20.5%, 0%, 79.5%, 54.1%)
CIE-LABlab(45.79, -22.38, 44.82)
CIE-LCHlch(45.79, 50.10, 116.54°)
OKLaboklab(52.51% -0.0655 0.0989)
OKLCHoklch(52.51% 0.119 123.5)
XYZxyz(11.0405, 15.1156, 3.1999)
Luminance0.1512 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7518 #301875
analogous
#755E18 #5D7518 #2E7518
triadic
#5D7518 #185D75 #75185D
tetradic
#5D7518 #18755E #301875 #75182E
square
#5D7518 #18755E #301875 #75182E
split-complementary
#5D7518 #182E75 #5E1875
monochromatic
#141905 #35420E #5D7518 #85A822 #ABD532

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D7518#FFFFFF#000000##FFFFFF
##5D75181.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)
#7C6D02
Deuteranopia (green-blind)
#796C21
Tritanopia (blue-blind)
#626F64
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5d7518;
/* rgb */ color: rgb(93, 117, 24);
/* oklch */ color: oklch(52.5% 0.119 123.5);
Tailwind
colors: {
  custom: {
    50: '#8e9c5d',
    500: '#5d7518',
    950: '#000000',
  },
}
SCSS
$custom: #5d7518;
$custom-light: #8e9c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7518",
  "rgb": {
    "r": 93,
    "g": 117,
    "b": 24
  },
  "hsl": {
    "h": 75.484,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.52508,
    "c": 0.11864,
    "h": 123.5
  },
  "luminance": 0.15116
}

Semantic roles & 50–950 ramp

primary
#5D7518
secondary
#5A3FAA
accent
#3FE96B
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0D0E05
muted
#7D7E79

Preview Lab

Preview with #5D7518

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

Preview Lab → · Contrast checker → · Palette generator →

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