#9D991D#9D991D

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

Color values

HEX#9D991D
RGBrgb(157, 153, 29)
HSLhsl(58, 69%, 36%)
HSVhsv(58, 82%, 62%)
CMYKcmyk(0%, 2.5%, 81.5%, 38.4%)
CIE-LABlab(61.69, -12.31, 59.50)
CIE-LCHlch(61.69, 60.76, 101.69°)
OKLaboklab(66.55% -0.0408 0.1287)
OKLCHoklch(66.55% 0.135 107.6)
XYZxyz(25.5187, 30.0402, 5.6163)
Luminance0.3004 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D991D #1D219D
analogous
#9D591D #9D991D #619D1D
triadic
#9D991D #1D9D99 #991D9D
tetradic
#9D991D #1D9D59 #1D219D #9D1D61
square
#9D991D #1D9D59 #1D219D #9D1D61
split-complementary
#9D991D #1D619D #591D9D
monochromatic
#36340A #696713 #9D991D #D1CB27 #E0DB55

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D991D#FFFFFF#000000##000000
##9D991D1.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)
#A99728
Tritanopia (blue-blind)
#A98E83
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9d991d;
/* rgb */ color: rgb(157, 153, 29);
/* oklch */ color: oklch(66.6% 0.135 107.6);
Tailwind
colors: {
  custom: {
    50: '#beb666',
    500: '#9d991d',
    950: '#000000',
  },
}
SCSS
$custom: #9d991d;
$custom-light: #beb666;
$custom-dark: #000000;
JSON
{
  "hex": "#9d991d",
  "rgb": {
    "r": 157,
    "g": 153,
    "b": 29
  },
  "hsl": {
    "h": 58.125,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.66552,
    "c": 0.13497,
    "h": 107.6
  },
  "luminance": 0.30039
}

Semantic roles & 50–950 ramp

primary
#9D991D
secondary
#5356C3
accent
#42EC3C
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9D991D

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

Preview Lab → · Contrast checker → · Palette generator →

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