#5E7816#5E7816

#5E7816 is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 53.3% C 0.123 H 124.1°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#5E7816
RGBrgb(94, 120, 22)
HSLhsl(76, 69%, 28%)
HSVhsv(76, 82%, 47%)
CMYKcmyk(21.7%, 0%, 81.7%, 52.9%)
CIE-LABlab(46.80, -23.57, 46.45)
CIE-LCHlch(46.80, 52.09, 116.90°)
OKLaboklab(53.34% -0.0689 0.102)
OKLCHoklch(53.34% 0.123 124.1)
XYZxyz(11.4775, 15.8705, 3.2175)
Luminance0.1587 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7816 #301678
analogous
#786116 #5E7816 #2D7816
triadic
#5E7816 #165E78 #78165E
tetradic
#5E7816 #167861 #301678 #78162D
square
#5E7816 #167861 #301678 #78162D
split-complementary
#5E7816 #162D78 #611678
monochromatic
#141A05 #35440D #5E7816 #87AC1F #ACD92F

Accessibility & contrast

On white

5.03
#5E7816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#5E7816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7816
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7816#FFFFFF#000000##FFFFFF
##5E78161.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#7C6F20
Tritanopia (blue-blind)
#637266
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5e7816;
/* rgb */ color: rgb(94, 120, 22);
/* oklch */ color: oklch(53.3% 0.123 124.1);
Tailwind
colors: {
  custom: {
    50: '#8f9f5d',
    500: '#5e7816',
    950: '#000000',
  },
}
SCSS
$custom: #5e7816;
$custom-light: #8f9f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7816",
  "rgb": {
    "r": 94,
    "g": 120,
    "b": 22
  },
  "hsl": {
    "h": 75.918,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.53342,
    "c": 0.1231,
    "h": 124.1
  },
  "luminance": 0.15871
}

Semantic roles & 50–950 ramp

primary
#5E7816
secondary
#5A3CAD
accent
#3CEC6B
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #5E7816

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

Preview Lab → · Contrast checker → · Palette generator →

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