#9E9916#9E9916

#9E9916 is a light, vivid yellow. Relative luminance 0.301; OKLCH L 66.6% C 0.138 H 107.2°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#9E9916
RGBrgb(158, 153, 22)
HSLhsl(58, 76%, 35%)
HSVhsv(58, 86%, 62%)
CMYKcmyk(0%, 3.2%, 86.1%, 38%)
CIE-LABlab(61.75, -12.07, 61.39)
CIE-LCHlch(61.75, 62.57, 101.12°)
OKLaboklab(66.61% -0.0406 0.1315)
OKLCHoklch(66.61% 0.138 107.2)
XYZxyz(25.6377, 30.1104, 5.2203)
Luminance0.3011 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9916 #161B9E
analogous
#9E5516 #9E9916 #5F9E16
triadic
#9E9916 #169E99 #99169E
tetradic
#9E9916 #169E55 #161B9E #9E165F
square
#9E9916 #169E55 #161B9E #9E165F
split-complementary
#9E9916 #165F9E #55169E
monochromatic
#333107 #68650F #9E9916 #D4CD1D #E6E049

Accessibility & contrast

On white

2.99
#9E9916 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#9E9916 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E9916
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9916#FFFFFF#000000##000000
##9E99161.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#A99724
Tritanopia (blue-blind)
#AA8E82
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9e9916;
/* rgb */ color: rgb(158, 153, 22);
/* oklch */ color: oklch(66.6% 0.138 107.2);
Tailwind
colors: {
  custom: {
    50: '#bfb663',
    500: '#9e9916',
    950: '#000000',
  },
}
SCSS
$custom: #9e9916;
$custom-light: #bfb663;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9916",
  "rgb": {
    "r": 158,
    "g": 153,
    "b": 22
  },
  "hsl": {
    "h": 57.794,
    "s": 75.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.66613,
    "c": 0.1376,
    "h": 107.2
  },
  "luminance": 0.30109
}

Semantic roles & 50–950 ramp

primary
#9E9916
secondary
#494EC7
accent
#3DF236
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9E9916

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

Preview Lab → · Contrast checker → · Palette generator →

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