#5E7616#5E7616

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

Color values

HEX#5E7616
RGBrgb(94, 118, 22)
HSLhsl(75, 69%, 27%)
HSVhsv(75, 81%, 46%)
CMYKcmyk(20.3%, 0%, 81.4%, 53.7%)
CIE-LABlab(46.17, -22.56, 45.87)
CIE-LCHlch(46.17, 51.11, 116.18°)
OKLaboklab(52.83% -0.0662 0.1008)
OKLCHoklch(52.83% 0.121 123.3)
XYZxyz(11.2395, 15.3944, 3.1382)
Luminance0.1539 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7616 #2E1676
analogous
#765E16 #5E7616 #2E7616
triadic
#5E7616 #165E76 #76165E
tetradic
#5E7616 #16765E #2E1676 #76162E
square
#5E7616 #16765E #2E1676 #76162E
split-complementary
#5E7616 #162E76 #5E1676
monochromatic
#151A05 #35420C #5E7616 #87AA20 #AED82E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E7616#FFFFFF#000000##FFFFFF
##5E76161.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: #5e7616;
/* rgb */ color: rgb(94, 118, 22);
/* oklch */ color: oklch(52.8% 0.121 123.3);
Tailwind
colors: {
  custom: {
    50: '#8f9d5c',
    500: '#5e7616',
    950: '#000000',
  },
}
SCSS
$custom: #5e7616;
$custom-light: #8f9d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7616",
  "rgb": {
    "r": 94,
    "g": 118,
    "b": 22
  },
  "hsl": {
    "h": 75,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.52829,
    "c": 0.12054,
    "h": 123.3
  },
  "luminance": 0.15394
}

Semantic roles & 50–950 ramp

primary
#5E7616
secondary
#583CAC
accent
#3CEB68
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5E7616

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

Preview Lab → · Contrast checker → · Palette generator →

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