#9D991F#9D991F

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

Color values

HEX#9D991F
RGBrgb(157, 153, 31)
HSLhsl(58, 67%, 37%)
HSVhsv(58, 80%, 62%)
CMYKcmyk(0%, 2.5%, 80.3%, 38.4%)
CIE-LABlab(61.70, -12.24, 58.92)
CIE-LCHlch(61.70, 60.18, 101.73°)
OKLaboklab(66.56% -0.0404 0.1278)
OKLCHoklch(66.56% 0.134 107.5)
XYZxyz(25.5442, 30.0504, 5.7508)
Luminance0.3005 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D991F #1F239D
analogous
#9D5A1F #9D991F #629D1F
triadic
#9D991F #1F9D99 #991F9D
tetradic
#9D991F #1F9D5A #1F239D #9D1F62
square
#9D991F #1F9D5A #1F239D #9D1F62
split-complementary
#9D991F #1F629D #5A1F9D
monochromatic
#37350B #6A6715 #9D991F #D0CB29 #DEDA58

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D991F#FFFFFF#000000##000000
##9D991F1.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)
#A69300
Deuteranopia (green-blind)
#A9972A
Tritanopia (blue-blind)
#A98E83
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9d991f;
/* rgb */ color: rgb(157, 153, 31);
/* oklch */ color: oklch(66.6% 0.134 107.5);
Tailwind
colors: {
  custom: {
    50: '#beb667',
    500: '#9d991f',
    950: '#000000',
  },
}
SCSS
$custom: #9d991f;
$custom-light: #beb667;
$custom-dark: #000000;
JSON
{
  "hex": "#9d991f",
  "rgb": {
    "r": 157,
    "g": 153,
    "b": 31
  },
  "hsl": {
    "h": 58.095,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.66562,
    "c": 0.13406,
    "h": 107.5
  },
  "luminance": 0.30049
}

Semantic roles & 50–950 ramp

primary
#9D991F
secondary
#5659C2
accent
#43EA3E
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9D991F

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

Preview Lab → · Contrast checker → · Palette generator →

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