#5D7511#5D7511

#5D7511 is a mid, vivid yellow-green. Relative luminance 0.151; OKLCH L 52.5% C 0.122 H 123.2°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#5D7511
RGBrgb(93, 117, 17)
HSLhsl(74, 75%, 26%)
HSVhsv(74, 85%, 46%)
CMYKcmyk(20.5%, 0%, 85.5%, 54.1%)
CIE-LABlab(45.76, -22.70, 46.99)
CIE-LCHlch(45.76, 52.19, 115.79°)
OKLaboklab(52.47% -0.0669 0.1023)
OKLCHoklch(52.47% 0.122 123.2)
XYZxyz(10.9768, 15.0901, 2.8646)
Luminance0.1509 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7511 #291175
analogous
#755B11 #5D7511 #2B7511
triadic
#5D7511 #115D75 #75115D
tetradic
#5D7511 #11755B #291175 #75112B
square
#5D7511 #11755B #291175 #75112B
split-complementary
#5D7511 #112B75 #5B1175
monochromatic
#151B04 #334009 #5D7511 #87AA19 #B1DF22

Accessibility & contrast

On white

5.23
#5D7511 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#5D7511 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7511
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7511#FFFFFF#000000##FFFFFF
##5D75111.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#796C1C
Tritanopia (blue-blind)
#626F63
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5d7511;
/* rgb */ color: rgb(93, 117, 17);
/* oklch */ color: oklch(52.5% 0.122 123.2);
Tailwind
colors: {
  custom: {
    50: '#8e9c5a',
    500: '#5d7511',
    950: '#000000',
  },
}
SCSS
$custom: #5d7511;
$custom-light: #8e9c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7511",
  "rgb": {
    "r": 93,
    "g": 117,
    "b": 17
  },
  "hsl": {
    "h": 74.4,
    "s": 74.627,
    "l": 26.275
  },
  "oklch": {
    "l": 0.52469,
    "c": 0.12223,
    "h": 123.2
  },
  "luminance": 0.1509
}

Semantic roles & 50–950 ramp

primary
#5D7511
secondary
#5236AC
accent
#37F163
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5D7511

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

Preview Lab → · Contrast checker → · Palette generator →

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