#838716#838716

#838716 is a mid, vivid yellow. Relative luminance 0.222; OKLCH L 60.1% C 0.126 H 111.8°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#838716
RGBrgb(131, 135, 22)
HSLhsl(62, 72%, 31%)
HSVhsv(62, 84%, 53%)
CMYKcmyk(3%, 0%, 83.7%, 47.1%)
CIE-LABlab(54.25, -14.77, 54.15)
CIE-LCHlch(54.25, 56.13, 105.26°)
OKLaboklab(60.06% -0.0468 0.117)
OKLCHoklch(60.06% 0.126 111.8)
XYZxyz(18.1695, 22.2116, 4.0891)
Luminance0.2221 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838716 #1A1687
analogous
#875216 #838716 #4A8716
triadic
#838716 #168387 #871683
tetradic
#838716 #168752 #1A1687 #87164A
square
#838716 #168752 #1A1687 #87164A
split-complementary
#838716 #164A87 #521687
monochromatic
#1D1E05 #50520D #838716 #B6BC1F #D9DF39

Accessibility & contrast

On white

3.86
#838716 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#838716 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838716
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838716#FFFFFF#000000##000000
##8387161.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#938321
Tritanopia (blue-blind)
#8D7E73
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #838716;
/* rgb */ color: rgb(131, 135, 22);
/* oklch */ color: oklch(60.1% 0.126 111.8);
Tailwind
colors: {
  custom: {
    50: '#aba960',
    500: '#838716',
    950: '#000000',
  },
}
SCSS
$custom: #838716;
$custom-light: #aba960;
$custom-dark: #000000;
JSON
{
  "hex": "#838716",
  "rgb": {
    "r": 131,
    "g": 135,
    "b": 22
  },
  "hsl": {
    "h": 62.124,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.60056,
    "c": 0.12604,
    "h": 111.8
  },
  "luminance": 0.22211
}

Semantic roles & 50–950 ramp

primary
#838716
secondary
#423EBB
accent
#39EF40
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #838716

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

Preview Lab → · Contrast checker → · Palette generator →

#838716 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva