#9C991F#9C991F

#9C991F is a light, vivid yellow. Relative luminance 0.299; OKLCH L 66.5% C 0.134 H 108.1°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#9C991F
RGBrgb(156, 153, 31)
HSLhsl(59, 67%, 37%)
HSVhsv(59, 80%, 61%)
CMYKcmyk(0%, 1.9%, 80.1%, 38.8%)
CIE-LABlab(61.61, -12.68, 58.81)
CIE-LCHlch(61.61, 60.17, 102.17°)
OKLaboklab(66.47% -0.0416 0.1276)
OKLCHoklch(66.47% 0.134 108.1)
XYZxyz(25.3499, 29.9502, 5.7417)
Luminance0.2995 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C991F #1F229C
analogous
#9C5B1F #9C991F #619C1F
triadic
#9C991F #1F9C99 #991F9C
tetradic
#9C991F #1F9C5B #1F229C #9C1F61
square
#9C991F #1F9C5B #1F229C #9C1F61
split-complementary
#9C991F #1F619C #5B1F9C
monochromatic
#36350B #696715 #9C991F #CFCB29 #DEDB58

Accessibility & contrast

On white

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

On black

6.99
#9C991F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C991F
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C991F#FFFFFF#000000##000000
##9C991F1.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69300
Deuteranopia (green-blind)
#A8972A
Tritanopia (blue-blind)
#A88E83
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9c991f;
/* rgb */ color: rgb(156, 153, 31);
/* oklch */ color: oklch(66.5% 0.134 108.1);
Tailwind
colors: {
  custom: {
    50: '#bdb667',
    500: '#9c991f',
    950: '#000000',
  },
}
SCSS
$custom: #9c991f;
$custom-light: #bdb667;
$custom-dark: #000000;
JSON
{
  "hex": "#9c991f",
  "rgb": {
    "r": 156,
    "g": 153,
    "b": 31
  },
  "hsl": {
    "h": 58.56,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.66472,
    "c": 0.13424,
    "h": 108.1
  },
  "luminance": 0.29949
}

Semantic roles & 50–950 ramp

primary
#9C991F
secondary
#5558C1
accent
#42EA3E
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9C991F

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

Preview Lab → · Contrast checker → · Palette generator →

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