#5D7718#5D7718

#5D7718 is a mid, vivid yellow-green. Relative luminance 0.156; OKLCH L 53.0% C 0.121 H 124.3°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#5D7718
RGBrgb(93, 119, 24)
HSLhsl(76, 66%, 28%)
HSVhsv(76, 80%, 47%)
CMYKcmyk(21.8%, 0%, 79.8%, 53.3%)
CIE-LABlab(46.43, -23.40, 45.41)
CIE-LCHlch(46.43, 51.09, 117.26°)
OKLaboklab(53.02% -0.0682 0.1002)
OKLCHoklch(53.02% 0.121 124.3)
XYZxyz(11.2760, 15.5866, 3.2784)
Luminance0.1559 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7718 #321877
analogous
#776118 #5D7718 #2D7718
triadic
#5D7718 #185D77 #77185D
tetradic
#5D7718 #187761 #321877 #77182D
square
#5D7718 #187761 #321877 #77182D
split-complementary
#5D7718 #182D77 #611877
monochromatic
#141905 #35440E #5D7718 #85AA22 #A9D633

Accessibility & contrast

On white

5.10
#5D7718 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#5D7718 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7718
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7718#FFFFFF#000000##FFFFFF
##5D77181.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F01
Deuteranopia (green-blind)
#7B6E21
Tritanopia (blue-blind)
#627165
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5d7718;
/* rgb */ color: rgb(93, 119, 24);
/* oklch */ color: oklch(53.0% 0.121 124.3);
Tailwind
colors: {
  custom: {
    50: '#8e9e5d',
    500: '#5d7718',
    950: '#000000',
  },
}
SCSS
$custom: #5d7718;
$custom-light: #8e9e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7718",
  "rgb": {
    "r": 93,
    "g": 119,
    "b": 24
  },
  "hsl": {
    "h": 76.421,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.53022,
    "c": 0.12123,
    "h": 124.3
  },
  "luminance": 0.15587
}

Semantic roles & 50–950 ramp

primary
#5D7718
secondary
#5D3FAC
accent
#3EE96D
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #5D7718

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

Preview Lab → · Contrast checker → · Palette generator →

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