#5E7E16#5E7E16

#5E7E16 is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.9% C 0.131 H 126.1°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#5E7E16
RGBrgb(94, 126, 22)
HSLhsl(78, 70%, 29%)
HSVhsv(78, 83%, 49%)
CMYKcmyk(25.4%, 0%, 82.5%, 50.6%)
CIE-LABlab(48.71, -26.55, 48.19)
CIE-LCHlch(48.71, 55.02, 118.86°)
OKLaboklab(54.89% -0.077 0.1057)
OKLCHoklch(54.89% 0.131 126.1)
XYZxyz(12.2218, 17.3591, 3.4656)
Luminance0.1736 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7E16 #36167E
analogous
#7E6A16 #5E7E16 #2A7E16
triadic
#5E7E16 #165E7E #7E165E
tetradic
#5E7E16 #167E6A #36167E #7E162A
square
#5E7E16 #167E6A #36167E #7E162A
split-complementary
#5E7E16 #162A7E #6A167E
monochromatic
#131A05 #374A0D #5E7E16 #85B21F #A8DB33

Accessibility & contrast

On white

4.70
#5E7E16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#5E7E16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7E16
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7E16#FFFFFF#000000##FFFFFF
##5E7E161.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#817321
Tritanopia (blue-blind)
#62786B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5e7e16;
/* rgb */ color: rgb(94, 126, 22);
/* oklch */ color: oklch(54.9% 0.131 126.1);
Tailwind
colors: {
  custom: {
    50: '#8fa35e',
    500: '#5e7e16',
    950: '#000000',
  },
}
SCSS
$custom: #5e7e16;
$custom-light: #8fa35e;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7e16",
  "rgb": {
    "r": 94,
    "g": 126,
    "b": 22
  },
  "hsl": {
    "h": 78.462,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.54886,
    "c": 0.13077,
    "h": 126.1
  },
  "luminance": 0.17359
}

Semantic roles & 50–950 ramp

primary
#5E7E16
secondary
#613DB3
accent
#3BED72
background
#F9FAF5
surface
#F1F3E9
border
#CBCDC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5E7E16

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

Preview Lab → · Contrast checker → · Palette generator →

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