#9E8516#9E8516

#9E8516 is a light, vivid yellow. Relative luminance 0.241; OKLCH L 62.2% C 0.122 H 94.9°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#9E8516
RGBrgb(158, 133, 22)
HSLhsl(49, 76%, 35%)
HSVhsv(49, 86%, 62%)
CMYKcmyk(0%, 15.8%, 86.1%, 38%)
CIE-LABlab(56.19, -1.25, 56.79)
CIE-LCHlch(56.19, 56.80, 91.26°)
OKLaboklab(62.2% -0.0104 0.1213)
OKLCHoklch(62.2% 0.122 94.9)
XYZxyz(22.6342, 24.1034, 4.2192)
Luminance0.2410 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8516 #162F9E
analogous
#9E4116 #9E8516 #739E16
triadic
#9E8516 #169E85 #85169E
tetradic
#9E8516 #169E41 #162F9E #9E1673
square
#9E8516 #169E41 #162F9E #9E1673
split-complementary
#9E8516 #16739E #41169E
monochromatic
#332B07 #68580F #9E8516 #D4B21D #E6C949

Accessibility & contrast

On white

3.61
#9E8516 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#9E8516 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E8516
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8516#FFFFFF#000000##000000
##9E85161.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#9B8A1F
Tritanopia (blue-blind)
#AB7971
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9e8516;
/* rgb */ color: rgb(158, 133, 22);
/* oklch */ color: oklch(62.2% 0.122 94.9);
Tailwind
colors: {
  custom: {
    50: '#bfa860',
    500: '#9e8516',
    950: '#000000',
  },
}
SCSS
$custom: #9e8516;
$custom-light: #bfa860;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8516",
  "rgb": {
    "r": 158,
    "g": 133,
    "b": 22
  },
  "hsl": {
    "h": 48.971,
    "s": 75.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.62197,
    "c": 0.12178,
    "h": 94.9
  },
  "luminance": 0.24102
}

Semantic roles & 50–950 ramp

primary
#9E8516
secondary
#4960C7
accent
#58F236
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F05
muted
#827F7A

Preview Lab

Preview with #9E8516

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

Preview Lab → · Contrast checker → · Palette generator →

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