#9E9915#9E9915

#9E9915 is a light, vivid yellow. Relative luminance 0.301; OKLCH L 66.6% C 0.138 H 107.2°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#9E9915
RGBrgb(158, 153, 21)
HSLhsl(58, 77%, 35%)
HSVhsv(58, 87%, 62%)
CMYKcmyk(0%, 3.2%, 86.7%, 38%)
CIE-LABlab(61.75, -12.09, 61.62)
CIE-LCHlch(61.75, 62.80, 101.10°)
OKLaboklab(66.61% -0.0408 0.1318)
OKLCHoklch(66.61% 0.138 107.2)
XYZxyz(25.6283, 30.1067, 5.1705)
Luminance0.3011 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9915 #151A9E
analogous
#9E5415 #9E9915 #5F9E15
triadic
#9E9915 #159E99 #99159E
tetradic
#9E9915 #159E54 #151A9E #9E155F
square
#9E9915 #159E54 #151A9E #9E155F
split-complementary
#9E9915 #155F9E #54159E
monochromatic
#323007 #68650E #9E9915 #D4CD1C #E7E147

Accessibility & contrast

On white

2.99
#9E9915 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#9E9915 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E9915
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9915#FFFFFF#000000##000000
##9E99151.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#A99723
Tritanopia (blue-blind)
#AA8E82
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9e9915;
/* rgb */ color: rgb(158, 153, 21);
/* oklch */ color: oklch(66.6% 0.138 107.2);
Tailwind
colors: {
  custom: {
    50: '#bfb663',
    500: '#9e9915',
    950: '#000000',
  },
}
SCSS
$custom: #9e9915;
$custom-light: #bfb663;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9915",
  "rgb": {
    "r": 158,
    "g": 153,
    "b": 21
  },
  "hsl": {
    "h": 57.81,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.66609,
    "c": 0.13796,
    "h": 107.2
  },
  "luminance": 0.30106
}

Semantic roles & 50–950 ramp

primary
#9E9915
secondary
#474CC7
accent
#3CF335
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9E9915

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

Preview Lab → · Contrast checker → · Palette generator →

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