#5E7016#5E7016

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

Color values

HEX#5E7016
RGBrgb(94, 112, 22)
HSLhsl(72, 67%, 26%)
HSVhsv(72, 80%, 44%)
CMYKcmyk(16.1%, 0%, 80.4%, 56.1%)
CIE-LABlab(44.27, -19.45, 44.12)
CIE-LCHlch(44.27, 48.22, 113.79°)
OKLaboklab(51.29% -0.0577 0.0971)
OKLCHoklch(51.29% 0.113 120.7)
XYZxyz(10.5553, 14.0260, 2.9101)
Luminance0.1403 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7016 #281670
analogous
#705516 #5E7016 #317016
triadic
#5E7016 #165E70 #70165E
tetradic
#5E7016 #167055 #281670 #701631
square
#5E7016 #167055 #281670 #701631
split-complementary
#5E7016 #163170 #551670
monochromatic
#151A05 #333D0C #5E7016 #89A320 #B3D52B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E7016#FFFFFF#000000##FFFFFF
##5E70161.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)
#776901
Deuteranopia (green-blind)
#75691F
Tritanopia (blue-blind)
#646A5F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5e7016;
/* rgb */ color: rgb(94, 112, 22);
/* oklch */ color: oklch(51.3% 0.113 120.7);
Tailwind
colors: {
  custom: {
    50: '#8f995c',
    500: '#5e7016',
    950: '#000000',
  },
}
SCSS
$custom: #5e7016;
$custom-light: #8f995c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7016",
  "rgb": {
    "r": 94,
    "g": 112,
    "b": 22
  },
  "hsl": {
    "h": 72,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.51294,
    "c": 0.11291,
    "h": 120.7
  },
  "luminance": 0.14026
}

Semantic roles & 50–950 ramp

primary
#5E7016
secondary
#513CA6
accent
#3EEA60
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5E7016

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

Preview Lab → · Contrast checker → · Palette generator →

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