#9E9719#9E9719

#9E9719 is a light, vivid yellow. Relative luminance 0.295; OKLCH L 66.2% C 0.135 H 106.1°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#9E9719
RGBrgb(158, 151, 25)
HSLhsl(57, 73%, 36%)
HSVhsv(57, 84%, 62%)
CMYKcmyk(0%, 4.4%, 84.2%, 38%)
CIE-LABlab(61.20, -10.93, 60.20)
CIE-LCHlch(61.20, 61.18, 100.29°)
OKLaboklab(66.18% -0.0373 0.1294)
OKLCHoklch(66.18% 0.135 106.1)
XYZxyz(25.3438, 29.4735, 5.2735)
Luminance0.2947 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9719 #19209E
analogous
#9E5419 #9E9719 #629E19
triadic
#9E9719 #199E97 #97199E
tetradic
#9E9719 #199E54 #19209E #9E1962
square
#9E9719 #199E54 #19209E #9E1962
split-complementary
#9E9719 #19629E #54199E
monochromatic
#343208 #696511 #9E9719 #D3C921 #E3DB4E

Accessibility & contrast

On white

3.05
#9E9719 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#9E9719 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E9719
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9719#FFFFFF#000000##000000
##9E97191.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#A89625
Tritanopia (blue-blind)
#AA8C81
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9e9719;
/* rgb */ color: rgb(158, 151, 25);
/* oklch */ color: oklch(66.2% 0.135 106.1);
Tailwind
colors: {
  custom: {
    50: '#bfb564',
    500: '#9e9719',
    950: '#000000',
  },
}
SCSS
$custom: #9e9719;
$custom-light: #bfb564;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9719",
  "rgb": {
    "r": 158,
    "g": 151,
    "b": 25
  },
  "hsl": {
    "h": 56.842,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.66176,
    "c": 0.13465,
    "h": 106.1
  },
  "luminance": 0.29473
}

Semantic roles & 50–950 ramp

primary
#9E9719
secondary
#4E54C5
accent
#42EF38
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9E9719

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

Preview Lab → · Contrast checker → · Palette generator →

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