#9E9819#9E9819

#9E9819 is a light, vivid yellow. Relative luminance 0.298; OKLCH L 66.4% C 0.136 H 106.6°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#9E9819
RGBrgb(158, 152, 25)
HSLhsl(57, 73%, 36%)
HSVhsv(57, 84%, 62%)
CMYKcmyk(0%, 3.8%, 84.2%, 38%)
CIE-LABlab(61.48, -11.46, 60.43)
CIE-LCHlch(61.48, 61.51, 100.73°)
OKLaboklab(66.4% -0.0387 0.1299)
OKLCHoklch(66.4% 0.136 106.6)
XYZxyz(25.5054, 29.7967, 5.3274)
Luminance0.2980 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9819 #191F9E
analogous
#9E5519 #9E9819 #619E19
triadic
#9E9819 #199E98 #98199E
tetradic
#9E9819 #199E55 #191F9E #9E1961
square
#9E9819 #199E55 #191F9E #9E1961
split-complementary
#9E9819 #19619E #55199E
monochromatic
#343208 #696511 #9E9819 #D3CB21 #E3DC4E

Accessibility & contrast

On white

3.02
#9E9819 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#9E9819 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E9819
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9819#FFFFFF#000000##000000
##9E98191.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#A89725
Tritanopia (blue-blind)
#AA8D82
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9e9819;
/* rgb */ color: rgb(158, 152, 25);
/* oklch */ color: oklch(66.4% 0.136 106.6);
Tailwind
colors: {
  custom: {
    50: '#bfb664',
    500: '#9e9819',
    950: '#000000',
  },
}
SCSS
$custom: #9e9819;
$custom-light: #bfb664;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9819",
  "rgb": {
    "r": 158,
    "g": 152,
    "b": 25
  },
  "hsl": {
    "h": 57.293,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.664,
    "c": 0.13556,
    "h": 106.6
  },
  "luminance": 0.29796
}

Semantic roles & 50–950 ramp

primary
#9E9819
secondary
#4E53C5
accent
#41EF38
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9E9819

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

Preview Lab → · Contrast checker → · Palette generator →

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