#9E9E17#9E9E17

#9E9E17 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#9E9E17
RGBrgb(158, 158, 23)
HSLhsl(60, 75%, 35%)
HSVhsv(60, 85%, 62%)
CMYKcmyk(0%, 0%, 85.4%, 38%)
CIE-LABlab(63.17, -14.66, 62.33)
CIE-LCHlch(63.17, 64.03, 103.23°)
OKLaboklab(67.75% -0.0478 0.1337)
OKLCHoklch(67.75% 0.142 109.7)
XYZxyz(26.4831, 31.7855, 5.5506)
Luminance0.3179 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9E17 #17179E
analogous
#9E5A17 #9E9E17 #5A9E17
triadic
#9E9E17 #179E9E #9E179E
tetradic
#9E9E17 #179E5A #17179E #9E175A
square
#9E9E17 #179E5A #17179E #9E175A
split-complementary
#9E9E17 #175A9E #5A179E
monochromatic
#333307 #69690F #9E9E17 #D3D31F #E5E54B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E9E17#FFFFFF#000000##000000
##9E9E171.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)
#AD9B26
Tritanopia (blue-blind)
#AA9387
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #9e9e17;
/* rgb */ color: rgb(158, 158, 23);
/* oklch */ color: oklch(67.7% 0.142 109.7);
Tailwind
colors: {
  custom: {
    50: '#bfba64',
    500: '#9e9e17',
    950: '#000000',
  },
}
SCSS
$custom: #9e9e17;
$custom-light: #bfba64;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9e17",
  "rgb": {
    "r": 158,
    "g": 158,
    "b": 23
  },
  "hsl": {
    "h": 60,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.67745,
    "c": 0.14197,
    "h": 109.7
  },
  "luminance": 0.31785
}

Semantic roles & 50–950 ramp

primary
#9E9E17
secondary
#4A4AC6
accent
#37F137
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9E9E17

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

Preview Lab → · Contrast checker → · Palette generator →

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