#5D7318#5D7318

#5D7318 is a mid, moderate yellow-green. Relative luminance 0.147; OKLCH L 52.0% C 0.116 H 122.7°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#5D7318
RGBrgb(93, 115, 24)
HSLhsl(75, 65%, 27%)
HSVhsv(75, 79%, 45%)
CMYKcmyk(19.1%, 0%, 79.1%, 54.9%)
CIE-LABlab(45.16, -21.36, 44.22)
CIE-LCHlch(45.16, 49.11, 115.78°)
OKLaboklab(52% -0.0627 0.0977)
OKLCHoklch(52% 0.116 122.7)
XYZxyz(10.8100, 14.6545, 3.1231)
Luminance0.1466 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7318 #2E1873
analogous
#735B18 #5D7318 #307318
triadic
#5D7318 #185D73 #73185D
tetradic
#5D7318 #18735B #2E1873 #731830
square
#5D7318 #18735B #2E1873 #731830
split-complementary
#5D7318 #183073 #5B1873
monochromatic
#141905 #34400D #5D7318 #86A623 #ADD431

Accessibility & contrast

On white

5.34
#5D7318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#5D7318 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7318
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7318#FFFFFF#000000##FFFFFF
##5D73181.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B03
Deuteranopia (green-blind)
#776B21
Tritanopia (blue-blind)
#626D62
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5d7318;
/* rgb */ color: rgb(93, 115, 24);
/* oklch */ color: oklch(52.0% 0.116 122.7);
Tailwind
colors: {
  custom: {
    50: '#8e9b5d',
    500: '#5d7318',
    950: '#000000',
  },
}
SCSS
$custom: #5d7318;
$custom-light: #8e9b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7318",
  "rgb": {
    "r": 93,
    "g": 115,
    "b": 24
  },
  "hsl": {
    "h": 74.505,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.51995,
    "c": 0.11606,
    "h": 122.7
  },
  "luminance": 0.14655
}

Semantic roles & 50–950 ramp

primary
#5D7318
secondary
#583FA8
accent
#3FE868
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0D0E04
muted
#7D7E79

Preview Lab

Preview with #5D7318

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

Preview Lab → · Contrast checker → · Palette generator →

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