#9E9919#9E9919

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

Color values

HEX#9E9919
RGBrgb(158, 153, 25)
HSLhsl(58, 73%, 36%)
HSVhsv(58, 84%, 62%)
CMYKcmyk(0%, 3.2%, 84.2%, 38%)
CIE-LABlab(61.76, -11.98, 60.67)
CIE-LCHlch(61.76, 61.84, 101.17°)
OKLaboklab(66.63% -0.0402 0.1304)
OKLCHoklch(66.63% 0.136 107.1)
XYZxyz(25.6684, 30.1227, 5.3817)
Luminance0.3012 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9919 #191E9E
analogous
#9E5619 #9E9919 #609E19
triadic
#9E9919 #199E99 #99199E
tetradic
#9E9919 #199E56 #191E9E #9E1960
square
#9E9919 #199E56 #191E9E #9E1960
split-complementary
#9E9919 #19609E #56199E
monochromatic
#343308 #696611 #9E9919 #D3CC21 #E3DD4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E9919#FFFFFF#000000##000000
##9E99191.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)
#A99726
Tritanopia (blue-blind)
#AA8E82
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9e9919;
/* rgb */ color: rgb(158, 153, 25);
/* oklch */ color: oklch(66.6% 0.136 107.1);
Tailwind
colors: {
  custom: {
    50: '#bfb664',
    500: '#9e9919',
    950: '#000000',
  },
}
SCSS
$custom: #9e9919;
$custom-light: #bfb664;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9919",
  "rgb": {
    "r": 158,
    "g": 153,
    "b": 25
  },
  "hsl": {
    "h": 57.744,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.66625,
    "c": 0.13648,
    "h": 107.1
  },
  "luminance": 0.30122
}

Semantic roles & 50–950 ramp

primary
#9E9919
secondary
#4E52C5
accent
#3FEF38
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9E9919

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

Preview Lab → · Contrast checker → · Palette generator →

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