#5E7216#5E7216

#5E7216 is a mid, moderate yellow-green. Relative luminance 0.145; OKLCH L 51.8% C 0.115 H 121.6°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#5E7216
RGBrgb(94, 114, 22)
HSLhsl(73, 68%, 27%)
HSVhsv(73, 81%, 45%)
CMYKcmyk(17.5%, 0%, 80.7%, 55.3%)
CIE-LABlab(44.90, -20.50, 44.70)
CIE-LCHlch(44.90, 49.18, 114.63°)
OKLaboklab(51.81% -0.0605 0.0983)
OKLCHoklch(51.81% 0.115 121.6)
XYZxyz(10.7784, 14.4722, 2.9845)
Luminance0.1447 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7216 #2A1672
analogous
#725816 #5E7216 #307216
triadic
#5E7216 #165E72 #72165E
tetradic
#5E7216 #167258 #2A1672 #721630
square
#5E7216 #167258 #2A1672 #721630
split-complementary
#5E7216 #163072 #581672
monochromatic
#151A05 #343F0C #5E7216 #88A520 #B1D62C

Accessibility & contrast

On white

5.39
#5E7216 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#5E7216 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7216
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7216#FFFFFF#000000##FFFFFF
##5E72161.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B00
Deuteranopia (green-blind)
#776A1F
Tritanopia (blue-blind)
#646C61
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5e7216;
/* rgb */ color: rgb(94, 114, 22);
/* oklch */ color: oklch(51.8% 0.115 121.6);
Tailwind
colors: {
  custom: {
    50: '#8f9a5c',
    500: '#5e7216',
    950: '#000000',
  },
}
SCSS
$custom: #5e7216;
$custom-light: #8f9a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7216",
  "rgb": {
    "r": 94,
    "g": 114,
    "b": 22
  },
  "hsl": {
    "h": 73.043,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.51805,
    "c": 0.11544,
    "h": 121.6
  },
  "luminance": 0.14472
}

Semantic roles & 50–950 ramp

primary
#5E7216
secondary
#533CA8
accent
#3DEB63
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5E7216

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

Preview Lab → · Contrast checker → · Palette generator →

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