#9E9D16#9E9D16

#9E9D16 is a light, vivid yellow. Relative luminance 0.314; OKLCH L 67.5% C 0.141 H 109.2°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#9E9D16
RGBrgb(158, 157, 22)
HSLhsl(60, 76%, 35%)
HSVhsv(60, 86%, 62%)
CMYKcmyk(0%, 0.6%, 86.1%, 38%)
CIE-LABlab(62.88, -14.16, 62.33)
CIE-LCHlch(62.88, 63.91, 102.80°)
OKLaboklab(67.52% -0.0464 0.1335)
OKLCHoklch(67.52% 0.141 109.2)
XYZxyz(26.3034, 31.4418, 5.4422)
Luminance0.3144 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9D16 #16179E
analogous
#9E5916 #9E9D16 #5B9E16
triadic
#9E9D16 #169E9D #9D169E
tetradic
#9E9D16 #169E59 #16179E #9E165B
square
#9E9D16 #169E59 #16179E #9E165B
split-complementary
#9E9D16 #165B9E #59169E
monochromatic
#333207 #68680F #9E9D16 #D4D21D #E6E449

Accessibility & contrast

On white

2.88
#9E9D16 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#9E9D16 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E9D16
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9D16#FFFFFF#000000##000000
##9E9D161.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9600
Deuteranopia (green-blind)
#AC9A25
Tritanopia (blue-blind)
#AA9286
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9e9d16;
/* rgb */ color: rgb(158, 157, 22);
/* oklch */ color: oklch(67.5% 0.141 109.2);
Tailwind
colors: {
  custom: {
    50: '#bfb964',
    500: '#9e9d16',
    950: '#000000',
  },
}
SCSS
$custom: #9e9d16;
$custom-light: #bfb964;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9d16",
  "rgb": {
    "r": 158,
    "g": 157,
    "b": 22
  },
  "hsl": {
    "h": 59.559,
    "s": 75.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.67515,
    "c": 0.14136,
    "h": 109.2
  },
  "luminance": 0.31441
}

Semantic roles & 50–950 ramp

primary
#9E9D16
secondary
#494AC7
accent
#37F236
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9E9D16

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

Preview Lab → · Contrast checker → · Palette generator →

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