#5E7717#5E7717

#5E7717 is a mid, vivid yellow-green. Relative luminance 0.156; OKLCH L 53.1% C 0.121 H 123.7°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#5E7717
RGBrgb(94, 119, 23)
HSLhsl(76, 68%, 28%)
HSVhsv(76, 81%, 47%)
CMYKcmyk(21%, 0%, 80.7%, 53.3%)
CIE-LABlab(46.49, -23.01, 45.84)
CIE-LCHlch(46.49, 51.29, 116.66°)
OKLaboklab(53.09% -0.0673 0.1009)
OKLCHoklch(53.09% 0.121 123.7)
XYZxyz(11.3677, 15.6351, 3.2294)
Luminance0.1563 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7717 #301777
analogous
#776017 #5E7717 #2E7717
triadic
#5E7717 #175E77 #77175E
tetradic
#5E7717 #177760 #301777 #77172E
square
#5E7717 #177760 #301777 #77172E
split-complementary
#5E7717 #172E77 #601777
monochromatic
#141A05 #35440D #5E7717 #87AA21 #ACD731

Accessibility & contrast

On white

5.09
#5E7717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#5E7717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7717
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7717#FFFFFF#000000##FFFFFF
##5E77171.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#7B6E21
Tritanopia (blue-blind)
#637165
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5e7717;
/* rgb */ color: rgb(94, 119, 23);
/* oklch */ color: oklch(53.1% 0.121 123.7);
Tailwind
colors: {
  custom: {
    50: '#8f9e5d',
    500: '#5e7717',
    950: '#000000',
  },
}
SCSS
$custom: #5e7717;
$custom-light: #8f9e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7717",
  "rgb": {
    "r": 94,
    "g": 119,
    "b": 23
  },
  "hsl": {
    "h": 75.625,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.53091,
    "c": 0.12128,
    "h": 123.7
  },
  "luminance": 0.15635
}

Semantic roles & 50–950 ramp

primary
#5E7717
secondary
#5A3EAC
accent
#3DEA6A
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #5E7717

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

Preview Lab → · Contrast checker → · Palette generator →

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