#5D7418#5D7418

#5D7418 is a mid, moderate yellow-green. Relative luminance 0.149; OKLCH L 52.3% C 0.117 H 123.1°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#5D7418
RGBrgb(93, 116, 24)
HSLhsl(75, 66%, 27%)
HSVhsv(75, 79%, 45%)
CMYKcmyk(19.8%, 0%, 79.3%, 54.5%)
CIE-LABlab(45.47, -21.87, 44.52)
CIE-LCHlch(45.47, 49.60, 116.16°)
OKLaboklab(52.25% -0.0641 0.0983)
OKLCHoklch(52.25% 0.117 123.1)
XYZxyz(10.9246, 14.8838, 3.1613)
Luminance0.1488 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7418 #2F1874
analogous
#745D18 #5D7418 #2F7418
triadic
#5D7418 #185D74 #74185D
tetradic
#5D7418 #18745D #2F1874 #74182F
square
#5D7418 #18745D #2F1874 #74182F
split-complementary
#5D7418 #182F74 #5D1874
monochromatic
#141905 #34410E #5D7418 #86A722 #ACD532

Accessibility & contrast

On white

5.28
#5D7418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#5D7418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7418
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7418#FFFFFF#000000##FFFFFF
##5D74181.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C03
Deuteranopia (green-blind)
#786C21
Tritanopia (blue-blind)
#626E63
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5d7418;
/* rgb */ color: rgb(93, 116, 24);
/* oklch */ color: oklch(52.3% 0.117 123.1);
Tailwind
colors: {
  custom: {
    50: '#8e9c5d',
    500: '#5d7418',
    950: '#000000',
  },
}
SCSS
$custom: #5d7418;
$custom-light: #8e9c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7418",
  "rgb": {
    "r": 93,
    "g": 116,
    "b": 24
  },
  "hsl": {
    "h": 75,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.52252,
    "c": 0.11735,
    "h": 123.1
  },
  "luminance": 0.14884
}

Semantic roles & 50–950 ramp

primary
#5D7418
secondary
#593FA9
accent
#3FE96A
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0D0E05
muted
#7D7E79

Preview Lab

Preview with #5D7418

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

Preview Lab → · Contrast checker → · Palette generator →

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