#9E8716#9E8716

#9E8716 is a light, vivid yellow. Relative luminance 0.247; OKLCH L 62.6% C 0.123 H 96.3°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#9E8716
RGBrgb(158, 135, 22)
HSLhsl(50, 76%, 35%)
HSVhsv(50, 86%, 62%)
CMYKcmyk(0%, 14.6%, 86.1%, 38%)
CIE-LABlab(56.74, -2.36, 57.24)
CIE-LCHlch(56.74, 57.29, 92.36°)
OKLaboklab(62.63% -0.0135 0.1223)
OKLCHoklch(62.63% 0.123 96.3)
XYZxyz(22.9106, 24.6563, 4.3113)
Luminance0.2465 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8716 #162D9E
analogous
#9E4316 #9E8716 #719E16
triadic
#9E8716 #169E87 #87169E
tetradic
#9E8716 #169E43 #162D9E #9E1671
square
#9E8716 #169E43 #162D9E #9E1671
split-complementary
#9E8716 #16719E #43169E
monochromatic
#332B07 #68590F #9E8716 #D4B51D #E6CB49

Accessibility & contrast

On white

3.54
#9E8716 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#9E8716 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E8716
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8716#FFFFFF#000000##000000
##9E87161.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#9C8B20
Tritanopia (blue-blind)
#AB7C73
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9e8716;
/* rgb */ color: rgb(158, 135, 22);
/* oklch */ color: oklch(62.6% 0.123 96.3);
Tailwind
colors: {
  custom: {
    50: '#bfa961',
    500: '#9e8716',
    950: '#000000',
  },
}
SCSS
$custom: #9e8716;
$custom-light: #bfa961;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8716",
  "rgb": {
    "r": 158,
    "g": 135,
    "b": 22
  },
  "hsl": {
    "h": 49.853,
    "s": 75.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.62631,
    "c": 0.12308,
    "h": 96.3
  },
  "luminance": 0.24655
}

Semantic roles & 50–950 ramp

primary
#9E8716
secondary
#495EC7
accent
#56F236
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F05
muted
#827F7A

Preview Lab

Preview with #9E8716

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

Preview Lab → · Contrast checker → · Palette generator →

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