#5D7011#5D7011

#5D7011 is a mid, moderate yellow-green. Relative luminance 0.140; OKLCH L 51.2% C 0.116 H 121.1°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#5D7011
RGBrgb(93, 112, 17)
HSLhsl(72, 74%, 25%)
HSVhsv(72, 85%, 44%)
CMYKcmyk(17%, 0%, 84.8%, 56.1%)
CIE-LABlab(44.17, -20.13, 45.60)
CIE-LCHlch(44.17, 49.84, 113.82°)
OKLaboklab(51.19% -0.0599 0.0993)
OKLCHoklch(51.19% 0.116 121.1)
XYZxyz(10.4097, 13.9560, 2.6756)
Luminance0.1396 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7011 #241170
analogous
#705311 #5D7011 #2D7011
triadic
#5D7011 #115D70 #70115D
tetradic
#5D7011 #117053 #241170 #70112D
square
#5D7011 #117053 #241170 #70112D
split-complementary
#5D7011 #112D70 #531170
monochromatic
#161B04 #313B09 #5D7011 #89A519 #B5DA21

Accessibility & contrast

On white

5.54
#5D7011 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#5D7011 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7011
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7011#FFFFFF#000000##FFFFFF
##5D70111.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776900
Deuteranopia (green-blind)
#75691B
Tritanopia (blue-blind)
#636A5F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5d7011;
/* rgb */ color: rgb(93, 112, 17);
/* oklch */ color: oklch(51.2% 0.116 121.1);
Tailwind
colors: {
  custom: {
    50: '#8e9959',
    500: '#5d7011',
    950: '#000000',
  },
}
SCSS
$custom: #5d7011;
$custom-light: #8e9959;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7011",
  "rgb": {
    "r": 93,
    "g": 112,
    "b": 17
  },
  "hsl": {
    "h": 72,
    "s": 73.643,
    "l": 25.294
  },
  "oklch": {
    "l": 0.51186,
    "c": 0.11596,
    "h": 121.1
  },
  "luminance": 0.13956
}

Semantic roles & 50–950 ramp

primary
#5D7011
secondary
#4C35A7
accent
#37F05C
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5D7011

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

Preview Lab → · Contrast checker → · Palette generator →

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