#5E7916#5E7916

#5E7916 is a mid, vivid yellow-green. Relative luminance 0.161; OKLCH L 53.6% C 0.124 H 124.4°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#5E7916
RGBrgb(94, 121, 22)
HSLhsl(76, 69%, 28%)
HSVhsv(76, 82%, 47%)
CMYKcmyk(22.3%, 0%, 81.8%, 52.5%)
CIE-LABlab(47.12, -24.07, 46.74)
CIE-LCHlch(47.12, 52.58, 117.25°)
OKLaboklab(53.6% -0.0703 0.1026)
OKLCHoklch(53.6% 0.124 124.4)
XYZxyz(11.5984, 16.1122, 3.2578)
Luminance0.1611 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7916 #311679
analogous
#796216 #5E7916 #2C7916
triadic
#5E7916 #165E79 #79165E
tetradic
#5E7916 #167962 #311679 #79162C
square
#5E7916 #167962 #311679 #79162C
split-complementary
#5E7916 #162C79 #621679
monochromatic
#141A05 #36450D #5E7916 #86AD1F #ABD930

Accessibility & contrast

On white

4.97
#5E7916 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#5E7916 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7916
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7916#FFFFFF#000000##FFFFFF
##5E79161.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#7D6F20
Tritanopia (blue-blind)
#637367
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5e7916;
/* rgb */ color: rgb(94, 121, 22);
/* oklch */ color: oklch(53.6% 0.124 124.4);
Tailwind
colors: {
  custom: {
    50: '#8f9f5d',
    500: '#5e7916',
    950: '#000000',
  },
}
SCSS
$custom: #5e7916;
$custom-light: #8f9f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7916",
  "rgb": {
    "r": 94,
    "g": 121,
    "b": 22
  },
  "hsl": {
    "h": 76.364,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.53599,
    "c": 0.12438,
    "h": 124.4
  },
  "luminance": 0.16112
}

Semantic roles & 50–950 ramp

primary
#5E7916
secondary
#5C3DAE
accent
#3CEC6C
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #5E7916

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

Preview Lab → · Contrast checker → · Palette generator →

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