#5E7017#5E7017

#5E7017 is a mid, moderate yellow-green. Relative luminance 0.140; OKLCH L 51.3% C 0.112 H 120.8°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#5E7017
RGBrgb(94, 112, 23)
HSLhsl(72, 66%, 26%)
HSVhsv(72, 79%, 44%)
CMYKcmyk(16.1%, 0%, 79.5%, 56.1%)
CIE-LABlab(44.28, -19.40, 43.77)
CIE-LCHlch(44.28, 47.88, 113.90°)
OKLaboklab(51.3% -0.0574 0.0965)
OKLCHoklch(51.3% 0.112 120.8)
XYZxyz(10.5651, 14.0299, 2.9619)
Luminance0.1403 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7017 #291770
analogous
#705617 #5E7017 #327017
triadic
#5E7017 #175E70 #70175E
tetradic
#5E7017 #177056 #291770 #701732
square
#5E7017 #177056 #291770 #701732
split-complementary
#5E7017 #173270 #561770
monochromatic
#151905 #333D0D #5E7017 #89A321 #B2D42D

Accessibility & contrast

On white

5.52
#5E7017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#5E7017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7017
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7017#FFFFFF#000000##FFFFFF
##5E70171.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776903
Deuteranopia (green-blind)
#75691F
Tritanopia (blue-blind)
#646A5F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5e7017;
/* rgb */ color: rgb(94, 112, 23);
/* oklch */ color: oklch(51.3% 0.112 120.8);
Tailwind
colors: {
  custom: {
    50: '#8f995c',
    500: '#5e7017',
    950: '#000000',
  },
}
SCSS
$custom: #5e7017;
$custom-light: #8f995c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7017",
  "rgb": {
    "r": 94,
    "g": 112,
    "b": 23
  },
  "hsl": {
    "h": 72.135,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.51301,
    "c": 0.11232,
    "h": 120.8
  },
  "luminance": 0.1403
}

Semantic roles & 50–950 ramp

primary
#5E7017
secondary
#523DA6
accent
#3FE961
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5E7017

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

Preview Lab → · Contrast checker → · Palette generator →

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