#9E9E16#9E9E16

#9E9E16 is a light, vivid yellow. Relative luminance 0.318; OKLCH L 67.7% C 0.142 H 109.7°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#9E9E16
RGBrgb(158, 158, 22)
HSLhsl(60, 76%, 35%)
HSVhsv(60, 86%, 62%)
CMYKcmyk(0%, 0%, 86.1%, 38%)
CIE-LABlab(63.16, -14.68, 62.56)
CIE-LCHlch(63.16, 64.26, 103.21°)
OKLaboklab(67.74% -0.0479 0.134)
OKLCHoklch(67.74% 0.142 109.7)
XYZxyz(26.4733, 31.7816, 5.4988)
Luminance0.3178 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9E16 #16169E
analogous
#9E5A16 #9E9E16 #5A9E16
triadic
#9E9E16 #169E9E #9E169E
tetradic
#9E9E16 #169E5A #16169E #9E165A
square
#9E9E16 #169E5A #16169E #9E165A
split-complementary
#9E9E16 #165A9E #5A169E
monochromatic
#333307 #68680F #9E9E16 #D4D41D #E6E649

Accessibility & contrast

On white

2.85
#9E9E16 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#9E9E16 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E9E16
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9E16#FFFFFF#000000##000000
##9E9E161.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9700
Deuteranopia (green-blind)
#AD9B25
Tritanopia (blue-blind)
#AA9387
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #9e9e16;
/* rgb */ color: rgb(158, 158, 22);
/* oklch */ color: oklch(67.7% 0.142 109.7);
Tailwind
colors: {
  custom: {
    50: '#bfba64',
    500: '#9e9e16',
    950: '#000000',
  },
}
SCSS
$custom: #9e9e16;
$custom-light: #bfba64;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9e16",
  "rgb": {
    "r": 158,
    "g": 158,
    "b": 22
  },
  "hsl": {
    "h": 60,
    "s": 75.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.67741,
    "c": 0.14232,
    "h": 109.7
  },
  "luminance": 0.31781
}

Semantic roles & 50–950 ramp

primary
#9E9E16
secondary
#4949C7
accent
#36F236
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9E9E16

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

Preview Lab → · Contrast checker → · Palette generator →

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