#9E9D17#9E9D17

#9E9D17 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#9E9D17
RGBrgb(158, 157, 23)
HSLhsl(60, 75%, 35%)
HSVhsv(60, 85%, 62%)
CMYKcmyk(0%, 0.6%, 85.4%, 38%)
CIE-LABlab(62.88, -14.14, 62.10)
CIE-LCHlch(62.88, 63.69, 102.82°)
OKLaboklab(67.52% -0.0463 0.1332)
OKLCHoklch(67.52% 0.141 109.2)
XYZxyz(26.3132, 31.4458, 5.4940)
Luminance0.3145 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9D17 #17189E
analogous
#9E5A17 #9E9D17 #5B9E17
triadic
#9E9D17 #179E9D #9D179E
tetradic
#9E9D17 #179E5A #17189E #9E175B
square
#9E9D17 #179E5A #17189E #9E175B
split-complementary
#9E9D17 #175B9E #5A179E
monochromatic
#333307 #69680F #9E9D17 #D3D21F #E5E44B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E9D17#FFFFFF#000000##000000
##9E9D171.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: #9e9d17;
/* rgb */ color: rgb(158, 157, 23);
/* oklch */ color: oklch(67.5% 0.141 109.2);
Tailwind
colors: {
  custom: {
    50: '#bfb964',
    500: '#9e9d17',
    950: '#000000',
  },
}
SCSS
$custom: #9e9d17;
$custom-light: #bfb964;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9d17",
  "rgb": {
    "r": 158,
    "g": 157,
    "b": 23
  },
  "hsl": {
    "h": 59.556,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.67518,
    "c": 0.14101,
    "h": 109.2
  },
  "luminance": 0.31445
}

Semantic roles & 50–950 ramp

primary
#9E9D17
secondary
#4A4BC6
accent
#38F137
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9E9D17

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

Preview Lab → · Contrast checker → · Palette generator →

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