#5E7517#5E7517

#5E7517 is a mid, moderate yellow-green. Relative luminance 0.152; OKLCH L 52.6% C 0.119 H 122.9°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#5E7517
RGBrgb(94, 117, 23)
HSLhsl(75, 67%, 27%)
HSVhsv(75, 80%, 46%)
CMYKcmyk(19.7%, 0%, 80.3%, 54.1%)
CIE-LABlab(45.86, -22.00, 45.25)
CIE-LCHlch(45.86, 50.31, 115.92°)
OKLaboklab(52.58% -0.0646 0.0996)
OKLCHoklch(52.58% 0.119 122.9)
XYZxyz(11.1322, 15.1641, 3.1509)
Luminance0.1516 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7517 #2E1775
analogous
#755D17 #5E7517 #2F7517
triadic
#5E7517 #175E75 #75175E
tetradic
#5E7517 #17755D #2E1775 #75172F
square
#5E7517 #17755D #2E1775 #75172F
split-complementary
#5E7517 #172F75 #5D1775
monochromatic
#151A05 #35420D #5E7517 #87A821 #AED630

Accessibility & contrast

On white

5.21
#5E7517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#5E7517 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7517
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7517#FFFFFF#000000##FFFFFF
##5E75171.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#796C20
Tritanopia (blue-blind)
#636F64
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5e7517;
/* rgb */ color: rgb(94, 117, 23);
/* oklch */ color: oklch(52.6% 0.119 122.9);
Tailwind
colors: {
  custom: {
    50: '#8f9c5d',
    500: '#5e7517',
    950: '#000000',
  },
}
SCSS
$custom: #5e7517;
$custom-light: #8f9c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7517",
  "rgb": {
    "r": 94,
    "g": 117,
    "b": 23
  },
  "hsl": {
    "h": 74.681,
    "s": 67.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.52578,
    "c": 0.11872,
    "h": 122.9
  },
  "luminance": 0.15164
}

Semantic roles & 50–950 ramp

primary
#5E7517
secondary
#583DAA
accent
#3EEA68
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5E7517

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

Preview Lab → · Contrast checker → · Palette generator →

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