#5D7311#5D7311

#5D7311 is a mid, moderate yellow-green. Relative luminance 0.146; OKLCH L 52.0% C 0.120 H 122.4°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#5D7311
RGBrgb(93, 115, 17)
HSLhsl(73, 74%, 26%)
HSVhsv(73, 85%, 45%)
CMYKcmyk(19.1%, 0%, 85.2%, 54.9%)
CIE-LABlab(45.12, -21.68, 46.44)
CIE-LCHlch(45.12, 51.25, 115.03°)
OKLaboklab(51.96% -0.0641 0.1011)
OKLCHoklch(51.96% 0.12 122.4)
XYZxyz(10.7463, 14.6291, 2.7878)
Luminance0.1463 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7311 #271173
analogous
#735811 #5D7311 #2C7311
triadic
#5D7311 #115D73 #73115D
tetradic
#5D7311 #117358 #271173 #73112C
square
#5D7311 #117358 #271173 #73112C
split-complementary
#5D7311 #112C73 #581173
monochromatic
#161B04 #323E09 #5D7311 #88A819 #B3DE21

Accessibility & contrast

On white

5.35
#5D7311 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5D7311
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7311#FFFFFF#000000##FFFFFF
##5D73111.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#786B1C
Tritanopia (blue-blind)
#626D61
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5d7311;
/* rgb */ color: rgb(93, 115, 17);
/* oklch */ color: oklch(52.0% 0.120 122.4);
Tailwind
colors: {
  custom: {
    50: '#8e9b5a',
    500: '#5d7311',
    950: '#000000',
  },
}
SCSS
$custom: #5d7311;
$custom-light: #8e9b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7311",
  "rgb": {
    "r": 93,
    "g": 115,
    "b": 17
  },
  "hsl": {
    "h": 73.469,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.51955,
    "c": 0.11972,
    "h": 122.4
  },
  "luminance": 0.14629
}

Semantic roles & 50–950 ramp

primary
#5D7311
secondary
#5036AA
accent
#37F161
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5D7311

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

Preview Lab → · Contrast checker → · Palette generator →

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