#9F891A#9F891A

#9F891A is a light, vivid yellow. Relative luminance 0.253; OKLCH L 63.2% C 0.123 H 96.9°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#9F891A
RGBrgb(159, 137, 26)
HSLhsl(50, 72%, 36%)
HSVhsv(50, 84%, 62%)
CMYKcmyk(0%, 13.8%, 83.6%, 37.6%)
CIE-LABlab(57.40, -2.88, 56.73)
CIE-LCHlch(57.40, 56.80, 92.91°)
OKLaboklab(63.19% -0.0147 0.122)
OKLCHoklch(63.19% 0.123 96.9)
XYZxyz(23.4315, 25.3381, 4.6336)
Luminance0.2534 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F891A #1A309F
analogous
#9F471A #9F891A #739F1A
triadic
#9F891A #1A9F89 #891A9F
tetradic
#9F891A #1A9F47 #1A309F #9F1A73
square
#9F891A #1A9F47 #1A309F #9F1A73
split-complementary
#9F891A #1A739F #471A9F
monochromatic
#362E09 #6A5C11 #9F891A #D4B623 #E3CA51

Accessibility & contrast

On white

3.46
#9F891A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#9F891A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F891A
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F891A#FFFFFF#000000##000000
##9F891A1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#9E8D23
Tritanopia (blue-blind)
#AC7E75
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9f891a;
/* rgb */ color: rgb(159, 137, 26);
/* oklch */ color: oklch(63.2% 0.123 96.9);
Tailwind
colors: {
  custom: {
    50: '#c0ab62',
    500: '#9f891a',
    950: '#000000',
  },
}
SCSS
$custom: #9f891a;
$custom-light: #c0ab62;
$custom-dark: #000000;
JSON
{
  "hex": "#9f891a",
  "rgb": {
    "r": 159,
    "g": 137,
    "b": 26
  },
  "hsl": {
    "h": 50.075,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.63185,
    "c": 0.12286,
    "h": 96.9
  },
  "luminance": 0.25337
}

Semantic roles & 50–950 ramp

primary
#9F891A
secondary
#5063C5
accent
#57EF39
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9F891A

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

Preview Lab → · Contrast checker → · Palette generator →

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