#5E7617#5E7617

#5E7617 is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.8% C 0.120 H 123.3°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#5E7617
RGBrgb(94, 118, 23)
HSLhsl(75, 67%, 28%)
HSVhsv(75, 81%, 46%)
CMYKcmyk(20.3%, 0%, 80.5%, 53.7%)
CIE-LABlab(46.17, -22.51, 45.54)
CIE-LCHlch(46.17, 50.80, 116.30°)
OKLaboklab(52.84% -0.066 0.1003)
OKLCHoklch(52.84% 0.12 123.3)
XYZxyz(11.2493, 15.3983, 3.1900)
Luminance0.1540 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7617 #2F1776
analogous
#765F17 #5E7617 #2E7617
triadic
#5E7617 #175E76 #76175E
tetradic
#5E7617 #17765F #2F1776 #76172E
square
#5E7617 #17765F #2F1776 #76172E
split-complementary
#5E7617 #172E76 #5F1776
monochromatic
#141A05 #35430D #5E7617 #87A921 #ADD731

Accessibility & contrast

On white

5.15
#5E7617 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#5E7617 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7617
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7617#FFFFFF#000000##FFFFFF
##5E76171.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#7A6D20
Tritanopia (blue-blind)
#637064
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5e7617;
/* rgb */ color: rgb(94, 118, 23);
/* oklch */ color: oklch(52.8% 0.120 123.3);
Tailwind
colors: {
  custom: {
    50: '#8f9d5d',
    500: '#5e7617',
    950: '#000000',
  },
}
SCSS
$custom: #5e7617;
$custom-light: #8f9d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7617",
  "rgb": {
    "r": 94,
    "g": 118,
    "b": 23
  },
  "hsl": {
    "h": 75.158,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.52835,
    "c": 0.12,
    "h": 123.3
  },
  "luminance": 0.15398
}

Semantic roles & 50–950 ramp

primary
#5E7617
secondary
#593EAB
accent
#3EEA69
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #5E7617

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

Preview Lab → · Contrast checker → · Palette generator →

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