#5D7411#5D7411

#5D7411 is a mid, vivid yellow-green. Relative luminance 0.149; OKLCH L 52.2% C 0.121 H 122.8°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#5D7411
RGBrgb(93, 116, 17)
HSLhsl(74, 74%, 26%)
HSVhsv(74, 85%, 45%)
CMYKcmyk(19.8%, 0%, 85.3%, 54.5%)
CIE-LABlab(45.44, -22.20, 46.72)
CIE-LCHlch(45.44, 51.72, 115.41°)
OKLaboklab(52.21% -0.0655 0.1017)
OKLCHoklch(52.21% 0.121 122.8)
XYZxyz(10.8609, 14.8584, 2.8260)
Luminance0.1486 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7411 #281174
analogous
#745911 #5D7411 #2B7411
triadic
#5D7411 #115D74 #74115D
tetradic
#5D7411 #117459 #281174 #74112B
square
#5D7411 #117459 #281174 #74112B
split-complementary
#5D7411 #112B74 #591174
monochromatic
#151B04 #323F09 #5D7411 #88A919 #B2DE21

Accessibility & contrast

On white

5.29
#5D7411 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#5D7411 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7411
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7411#FFFFFF#000000##FFFFFF
##5D74111.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#786B1C
Tritanopia (blue-blind)
#626E62
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5d7411;
/* rgb */ color: rgb(93, 116, 17);
/* oklch */ color: oklch(52.2% 0.121 122.8);
Tailwind
colors: {
  custom: {
    50: '#8e9c5a',
    500: '#5d7411',
    950: '#000000',
  },
}
SCSS
$custom: #5d7411;
$custom-light: #8e9c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7411",
  "rgb": {
    "r": 93,
    "g": 116,
    "b": 17
  },
  "hsl": {
    "h": 73.939,
    "s": 74.436,
    "l": 26.078
  },
  "oklch": {
    "l": 0.52212,
    "c": 0.12097,
    "h": 122.8
  },
  "luminance": 0.14858
}

Semantic roles & 50–950 ramp

primary
#5D7411
secondary
#5136AB
accent
#37F162
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5D7411

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

Preview Lab → · Contrast checker → · Palette generator →

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