#9E9615#9E9615

#9E9615 is a light, vivid yellow. Relative luminance 0.291; OKLCH L 65.9% C 0.135 H 105.6°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#9E9615
RGBrgb(158, 150, 21)
HSLhsl(56, 77%, 35%)
HSVhsv(56, 87%, 62%)
CMYKcmyk(0%, 5.1%, 86.7%, 38%)
CIE-LABlab(60.90, -10.51, 60.93)
CIE-LCHlch(60.90, 61.83, 99.78°)
OKLaboklab(65.94% -0.0364 0.1303)
OKLCHoklch(65.94% 0.135 105.6)
XYZxyz(25.1434, 29.1370, 5.0089)
Luminance0.2914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9615 #151D9E
analogous
#9E5115 #9E9615 #629E15
triadic
#9E9615 #159E96 #96159E
tetradic
#9E9615 #159E51 #151D9E #9E1562
square
#9E9615 #159E51 #151D9E #9E1562
split-complementary
#9E9615 #15629E #51159E
monochromatic
#322F07 #68630E #9E9615 #D4C91C #E7DD47

Accessibility & contrast

On white

3.08
#9E9615 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#9E9615 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E9615
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9615#FFFFFF#000000##000000
##9E96151.003.086.836.83
#FFFFFF3.081.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#A79522
Tritanopia (blue-blind)
#AA8B80
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9e9615;
/* rgb */ color: rgb(158, 150, 21);
/* oklch */ color: oklch(65.9% 0.135 105.6);
Tailwind
colors: {
  custom: {
    50: '#bfb463',
    500: '#9e9615',
    950: '#000000',
  },
}
SCSS
$custom: #9e9615;
$custom-light: #bfb463;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9615",
  "rgb": {
    "r": 158,
    "g": 150,
    "b": 21
  },
  "hsl": {
    "h": 56.496,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.65936,
    "c": 0.13524,
    "h": 105.6
  },
  "luminance": 0.29136
}

Semantic roles & 50–950 ramp

primary
#9E9615
secondary
#474FC7
accent
#40F335
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9E9615

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

Preview Lab → · Contrast checker → · Palette generator →

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