#9F991A#9F991A

#9F991A is a light, vivid yellow. Relative luminance 0.302; OKLCH L 66.7% C 0.136 H 106.6°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#9F991A
RGBrgb(159, 153, 26)
HSLhsl(57, 72%, 36%)
HSVhsv(57, 84%, 62%)
CMYKcmyk(0%, 3.8%, 83.6%, 37.6%)
CIE-LABlab(61.85, -11.50, 60.52)
CIE-LCHlch(61.85, 61.61, 100.76°)
OKLaboklab(66.72% -0.0389 0.1302)
OKLCHoklch(66.72% 0.136 106.6)
XYZxyz(25.8769, 30.2290, 5.4488)
Luminance0.3023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F991A #1A209F
analogous
#9F571A #9F991A #639F1A
triadic
#9F991A #1A9F99 #991A9F
tetradic
#9F991A #1A9F57 #1A209F #9F1A63
square
#9F991A #1A9F57 #1A209F #9F1A63
split-complementary
#9F991A #1A639F #571A9F
monochromatic
#363409 #6A6611 #9F991A #D4CC23 #E3DC51

Accessibility & contrast

On white

2.98
#9F991A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#9F991A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F991A
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F991A#FFFFFF#000000##000000
##9F991A1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f991a;
/* rgb */ color: rgb(159, 153, 26);
/* oklch */ color: oklch(66.7% 0.136 106.6);
Tailwind
colors: {
  custom: {
    50: '#bfb665',
    500: '#9f991a',
    950: '#000000',
  },
}
SCSS
$custom: #9f991a;
$custom-light: #bfb665;
$custom-dark: #000000;
JSON
{
  "hex": "#9f991a",
  "rgb": {
    "r": 159,
    "g": 153,
    "b": 26
  },
  "hsl": {
    "h": 57.293,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.6672,
    "c": 0.13591,
    "h": 106.6
  },
  "luminance": 0.30228
}

Semantic roles & 50–950 ramp

primary
#9F991A
secondary
#5055C5
accent
#41EF39
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9F991A

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

Preview Lab → · Contrast checker → · Palette generator →

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