#5E7516#5E7516

#5E7516 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#5E7516
RGBrgb(94, 117, 22)
HSLhsl(75, 68%, 27%)
HSVhsv(75, 81%, 46%)
CMYKcmyk(19.7%, 0%, 81.2%, 54.1%)
CIE-LABlab(45.85, -22.04, 45.58)
CIE-LCHlch(45.85, 50.63, 115.81°)
OKLaboklab(52.57% -0.0648 0.1002)
OKLCHoklch(52.57% 0.119 122.9)
XYZxyz(11.1224, 15.1601, 3.0991)
Luminance0.1516 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7516 #2D1675
analogous
#755C16 #5E7516 #2F7516
triadic
#5E7516 #165E75 #75165E
tetradic
#5E7516 #16755C #2D1675 #75162F
square
#5E7516 #16755C #2D1675 #75162F
split-complementary
#5E7516 #162F75 #5C1675
monochromatic
#151A05 #35410C #5E7516 #87A920 #AFD82E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E7516#FFFFFF#000000##FFFFFF
##5E75161.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)
#636F63
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5e7516;
/* rgb */ color: rgb(94, 117, 22);
/* oklch */ color: oklch(52.6% 0.119 122.9);
Tailwind
colors: {
  custom: {
    50: '#8f9c5c',
    500: '#5e7516',
    950: '#000000',
  },
}
SCSS
$custom: #5e7516;
$custom-light: #8f9c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7516",
  "rgb": {
    "r": 94,
    "g": 117,
    "b": 22
  },
  "hsl": {
    "h": 74.526,
    "s": 68.345,
    "l": 27.255
  },
  "oklch": {
    "l": 0.52572,
    "c": 0.11927,
    "h": 122.9
  },
  "luminance": 0.1516
}

Semantic roles & 50–950 ramp

primary
#5E7516
secondary
#573CAB
accent
#3DEB67
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5E7516

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

Preview Lab → · Contrast checker → · Palette generator →

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