#5E6716#5E6716

#5E6716 is a mid, moderate yellow. Relative luminance 0.121; OKLCH L 49.0% C 0.102 H 115.9°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#5E6716
RGBrgb(94, 103, 22)
HSLhsl(67, 65%, 25%)
HSVhsv(67, 79%, 40%)
CMYKcmyk(8.7%, 0%, 78.6%, 59.6%)
CIE-LABlab(41.44, -14.62, 41.47)
CIE-LCHlch(41.44, 43.97, 109.42°)
OKLaboklab(49.01% -0.0444 0.0915)
OKLCHoklch(49.01% 0.102 115.9)
XYZxyz(9.6114, 12.1383, 2.5955)
Luminance0.1214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6716 #1F1667
analogous
#674816 #5E6716 #356716
triadic
#5E6716 #165E67 #67165E
tetradic
#5E6716 #166748 #1F1667 #671635
square
#5E6716 #166748 #1F1667 #671635
split-complementary
#5E6716 #163567 #481667
monochromatic
#171905 #30350B #5E6716 #8C9921 #BACC2C

Accessibility & contrast

On white

6.13
#5E6716 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#5E6716 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E6716
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6716#FFFFFF#000000##FFFFFF
##5E67161.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6105
Deuteranopia (green-blind)
#6E621D
Tritanopia (blue-blind)
#646158
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5e6716;
/* rgb */ color: rgb(94, 103, 22);
/* oklch */ color: oklch(49.0% 0.102 115.9);
Tailwind
colors: {
  custom: {
    50: '#8e925a',
    500: '#5e6716',
    950: '#000000',
  },
}
SCSS
$custom: #5e6716;
$custom-light: #8e925a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6716",
  "rgb": {
    "r": 94,
    "g": 103,
    "b": 22
  },
  "hsl": {
    "h": 66.667,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.49012,
    "c": 0.10165,
    "h": 115.9
  },
  "luminance": 0.12138
}

Semantic roles & 50–950 ramp

primary
#5E6716
secondary
#463B9E
accent
#40E853
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0D04
muted
#7E7D79

Preview Lab

Preview with #5E6716

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

Preview Lab → · Contrast checker → · Palette generator →

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