#5E7316#5E7316

#5E7316 is a mid, moderate yellow-green. Relative luminance 0.147; OKLCH L 52.1% C 0.117 H 122.1°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#5E7316
RGBrgb(94, 115, 22)
HSLhsl(74, 68%, 27%)
HSVhsv(74, 81%, 45%)
CMYKcmyk(18.3%, 0%, 80.9%, 54.9%)
CIE-LABlab(45.22, -21.02, 44.99)
CIE-LCHlch(45.22, 49.66, 115.04°)
OKLaboklab(52.06% -0.062 0.0989)
OKLCHoklch(52.06% 0.117 122.1)
XYZxyz(10.8918, 14.6991, 3.0223)
Luminance0.1470 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7316 #2B1673
analogous
#735A16 #5E7316 #307316
triadic
#5E7316 #165E73 #73165E
tetradic
#5E7316 #16735A #2B1673 #731630
square
#5E7316 #16735A #2B1673 #731630
split-complementary
#5E7316 #163073 #5A1673
monochromatic
#151A05 #34400C #5E7316 #88A620 #B0D72D

Accessibility & contrast

On white

5.33
#5E7316 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#5E7316 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7316
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7316#FFFFFF#000000##FFFFFF
##5E73161.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#786B1F
Tritanopia (blue-blind)
#636D62
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5e7316;
/* rgb */ color: rgb(94, 115, 22);
/* oklch */ color: oklch(52.1% 0.117 122.1);
Tailwind
colors: {
  custom: {
    50: '#8f9b5c',
    500: '#5e7316',
    950: '#000000',
  },
}
SCSS
$custom: #5e7316;
$custom-light: #8f9b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7316",
  "rgb": {
    "r": 94,
    "g": 115,
    "b": 22
  },
  "hsl": {
    "h": 73.548,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.5206,
    "c": 0.11671,
    "h": 122.1
  },
  "luminance": 0.14699
}

Semantic roles & 50–950 ramp

primary
#5E7316
secondary
#553CA9
accent
#3DEB64
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5E7316

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

Preview Lab → · Contrast checker → · Palette generator →

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