#9E9715#9E9715

#9E9715 is a light, vivid yellow. Relative luminance 0.295; OKLCH L 66.2% C 0.136 H 106.1°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#9E9715
RGBrgb(158, 151, 21)
HSLhsl(57, 77%, 35%)
HSVhsv(57, 87%, 62%)
CMYKcmyk(0%, 4.4%, 86.7%, 38%)
CIE-LABlab(61.18, -11.04, 61.16)
CIE-LCHlch(61.18, 62.15, 100.23°)
OKLaboklab(66.16% -0.0378 0.1308)
OKLCHoklch(66.16% 0.136 106.1)
XYZxyz(25.3037, 29.4575, 5.0623)
Luminance0.2946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9715 #151C9E
analogous
#9E5215 #9E9715 #619E15
triadic
#9E9715 #159E97 #97159E
tetradic
#9E9715 #159E52 #151C9E #9E1561
square
#9E9715 #159E52 #151C9E #9E1561
split-complementary
#9E9715 #15619E #52159E
monochromatic
#323007 #68630E #9E9715 #D4CB1C #E7DE47

Accessibility & contrast

On white

3.05
#9E9715 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#9E9715 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E9715
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9715#FFFFFF#000000##000000
##9E97151.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#A89623
Tritanopia (blue-blind)
#AA8C81
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9e9715;
/* rgb */ color: rgb(158, 151, 21);
/* oklch */ color: oklch(66.2% 0.136 106.1);
Tailwind
colors: {
  custom: {
    50: '#bfb563',
    500: '#9e9715',
    950: '#000000',
  },
}
SCSS
$custom: #9e9715;
$custom-light: #bfb563;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9715",
  "rgb": {
    "r": 158,
    "g": 151,
    "b": 21
  },
  "hsl": {
    "h": 56.934,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.6616,
    "c": 0.13613,
    "h": 106.1
  },
  "luminance": 0.29456
}

Semantic roles & 50–950 ramp

primary
#9E9715
secondary
#474EC7
accent
#3EF335
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9E9715

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

Preview Lab → · Contrast checker → · Palette generator →

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