#9E9515#9E9515

#9E9515 is a light, vivid yellow. Relative luminance 0.288; OKLCH L 65.7% C 0.134 H 105.0°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#9E9515
RGBrgb(158, 149, 21)
HSLhsl(56, 77%, 35%)
HSVhsv(56, 87%, 62%)
CMYKcmyk(0%, 5.7%, 86.7%, 38%)
CIE-LABlab(60.62, -9.97, 60.70)
CIE-LCHlch(60.62, 61.51, 99.33°)
OKLaboklab(65.71% -0.0349 0.1298)
OKLCHoklch(65.71% 0.134 105)
XYZxyz(24.9845, 28.8192, 4.9559)
Luminance0.2882 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9515 #151E9E
analogous
#9E5015 #9E9515 #639E15
triadic
#9E9515 #159E95 #95159E
tetradic
#9E9515 #159E50 #151E9E #9E1563
square
#9E9515 #159E50 #151E9E #9E1563
split-complementary
#9E9515 #15639E #50159E
monochromatic
#322F07 #68620E #9E9515 #D4C81C #E7DC47

Accessibility & contrast

On white

3.10
#9E9515 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#9E9515 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E9515
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9515#FFFFFF#000000##000000
##9E95151.003.106.766.76
#FFFFFF3.101.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A38F00
Deuteranopia (green-blind)
#A69422
Tritanopia (blue-blind)
#AB8A7F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9e9515;
/* rgb */ color: rgb(158, 149, 21);
/* oklch */ color: oklch(65.7% 0.134 105.0);
Tailwind
colors: {
  custom: {
    50: '#bfb362',
    500: '#9e9515',
    950: '#000000',
  },
}
SCSS
$custom: #9e9515;
$custom-light: #bfb362;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9515",
  "rgb": {
    "r": 158,
    "g": 149,
    "b": 21
  },
  "hsl": {
    "h": 56.058,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.65713,
    "c": 0.13437,
    "h": 105
  },
  "luminance": 0.28818
}

Semantic roles & 50–950 ramp

primary
#9E9515
secondary
#4750C7
accent
#41F335
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9E9515

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

Preview Lab → · Contrast checker → · Palette generator →

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