#9E8216#9E8216

#9E8216 is a mid, moderate yellow. Relative luminance 0.233; OKLCH L 61.6% C 0.120 H 92.7°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#9E8216
RGBrgb(158, 130, 22)
HSLhsl(48, 76%, 35%)
HSVhsv(48, 86%, 62%)
CMYKcmyk(0%, 17.7%, 86.1%, 38%)
CIE-LABlab(55.37, 0.41, 56.11)
CIE-LCHlch(55.37, 56.11, 89.58°)
OKLaboklab(61.55% -0.0057 0.1198)
OKLCHoklch(61.55% 0.12 92.7)
XYZxyz(22.2293, 23.2937, 4.0842)
Luminance0.2329 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8216 #16329E
analogous
#9E3E16 #9E8216 #769E16
triadic
#9E8216 #169E82 #82169E
tetradic
#9E8216 #169E3E #16329E #9E1676
square
#9E8216 #169E3E #16329E #9E1676
split-complementary
#9E8216 #16769E #3E169E
monochromatic
#332A07 #68560F #9E8216 #D4AE1D #E6C549

Accessibility & contrast

On white

3.71
#9E8216 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#9E8216 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E8216
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8216#FFFFFF#000000##000000
##9E82161.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#98881E
Tritanopia (blue-blind)
#AC766F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9e8216;
/* rgb */ color: rgb(158, 130, 22);
/* oklch */ color: oklch(61.6% 0.120 92.7);
Tailwind
colors: {
  custom: {
    50: '#bfa560',
    500: '#9e8216',
    950: '#000000',
  },
}
SCSS
$custom: #9e8216;
$custom-light: #bfa560;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8216",
  "rgb": {
    "r": 158,
    "g": 130,
    "b": 22
  },
  "hsl": {
    "h": 47.647,
    "s": 75.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.61551,
    "c": 0.11997,
    "h": 92.7
  },
  "luminance": 0.23292
}

Semantic roles & 50–950 ramp

primary
#9E8216
secondary
#4963C7
accent
#5CF236
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F05
muted
#827F7A

Preview Lab

Preview with #9E8216

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

Preview Lab → · Contrast checker → · Palette generator →

#9E8216 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva