#9D991A#9D991A

#9D991A is a light, vivid yellow. Relative luminance 0.300; OKLCH L 66.5% C 0.136 H 107.6°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#9D991A
RGBrgb(157, 153, 26)
HSLhsl(58, 72%, 36%)
HSVhsv(58, 83%, 62%)
CMYKcmyk(0%, 2.5%, 83.4%, 38.4%)
CIE-LABlab(61.68, -12.40, 60.31)
CIE-LCHlch(61.68, 61.57, 101.62°)
OKLaboklab(66.54% -0.0413 0.1299)
OKLCHoklch(66.54% 0.136 107.6)
XYZxyz(25.4834, 30.0261, 5.4303)
Luminance0.3003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D991A #1A1E9D
analogous
#9D571A #9D991A #5F9D1A
triadic
#9D991A #1A9D99 #991A9D
tetradic
#9D991A #1A9D57 #1A1E9D #9D1A5F
square
#9D991A #1A9D57 #1A1E9D #9D1A5F
split-complementary
#9D991A #1A5F9D #571A9D
monochromatic
#343309 #686611 #9D991A #D2CC23 #E2DD4F

Accessibility & contrast

On white

3.00
#9D991A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#9D991A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D991A
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D991A#FFFFFF#000000##000000
##9D991A1.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d991a;
/* rgb */ color: rgb(157, 153, 26);
/* oklch */ color: oklch(66.5% 0.136 107.6);
Tailwind
colors: {
  custom: {
    50: '#beb665',
    500: '#9d991a',
    950: '#000000',
  },
}
SCSS
$custom: #9d991a;
$custom-light: #beb665;
$custom-dark: #000000;
JSON
{
  "hex": "#9d991a",
  "rgb": {
    "r": 157,
    "g": 153,
    "b": 26
  },
  "hsl": {
    "h": 58.168,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.66538,
    "c": 0.13626,
    "h": 107.6
  },
  "luminance": 0.30025
}

Semantic roles & 50–950 ramp

primary
#9D991A
secondary
#4E52C4
accent
#3FEE39
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9D991A

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

Preview Lab → · Contrast checker → · Palette generator →

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