#9E8616#9E8616

#9E8616 is a light, vivid yellow. Relative luminance 0.244; OKLCH L 62.4% C 0.122 H 95.6°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#9E8616
RGBrgb(158, 134, 22)
HSLhsl(49, 76%, 35%)
HSVhsv(49, 86%, 62%)
CMYKcmyk(0%, 15.2%, 86.1%, 38%)
CIE-LABlab(56.46, -1.80, 57.02)
CIE-LCHlch(56.46, 57.05, 91.81°)
OKLaboklab(62.41% -0.0119 0.1218)
OKLCHoklch(62.41% 0.122 95.6)
XYZxyz(22.7718, 24.3786, 4.2650)
Luminance0.2438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8616 #162E9E
analogous
#9E4216 #9E8616 #729E16
triadic
#9E8616 #169E86 #86169E
tetradic
#9E8616 #169E42 #162E9E #9E1672
square
#9E8616 #169E42 #162E9E #9E1672
split-complementary
#9E8616 #16729E #42169E
monochromatic
#332B07 #68580F #9E8616 #D4B41D #E6CA49

Accessibility & contrast

On white

3.57
#9E8616 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#9E8616 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E8616
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8616#FFFFFF#000000##000000
##9E86161.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#9B8B1F
Tritanopia (blue-blind)
#AB7A72
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9e8616;
/* rgb */ color: rgb(158, 134, 22);
/* oklch */ color: oklch(62.4% 0.122 95.6);
Tailwind
colors: {
  custom: {
    50: '#bfa860',
    500: '#9e8616',
    950: '#000000',
  },
}
SCSS
$custom: #9e8616;
$custom-light: #bfa860;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8616",
  "rgb": {
    "r": 158,
    "g": 134,
    "b": 22
  },
  "hsl": {
    "h": 49.412,
    "s": 75.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.62414,
    "c": 0.12242,
    "h": 95.6
  },
  "luminance": 0.24377
}

Semantic roles & 50–950 ramp

primary
#9E8616
secondary
#495FC7
accent
#57F236
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F05
muted
#827F7A

Preview Lab

Preview with #9E8616

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

Preview Lab → · Contrast checker → · Palette generator →

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