#9F881B#9F881B

#9F881B is a light, vivid yellow. Relative luminance 0.251; OKLCH L 63.0% C 0.122 H 96.1°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#9F881B
RGBrgb(159, 136, 27)
HSLhsl(50, 71%, 36%)
HSVhsv(50, 83%, 62%)
CMYKcmyk(0%, 14.5%, 83%, 37.6%)
CIE-LABlab(57.13, -2.30, 56.20)
CIE-LCHlch(57.13, 56.25, 92.34°)
OKLaboklab(62.97% -0.013 0.121)
OKLCHoklch(62.97% 0.122 96.1)
XYZxyz(23.3014, 25.0597, 4.6464)
Luminance0.2506 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F881B #1B329F
analogous
#9F461B #9F881B #749F1B
triadic
#9F881B #1B9F88 #881B9F
tetradic
#9F881B #1B9F46 #1B329F #9F1B74
square
#9F881B #1B9F46 #1B329F #9F1B74
split-complementary
#9F881B #1B749F #461B9F
monochromatic
#362F09 #6B5B12 #9F881B #D3B524 #E2C953

Accessibility & contrast

On white

3.49
#9F881B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#9F881B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F881B
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F881B#FFFFFF#000000##000000
##9F881B1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#9D8C23
Tritanopia (blue-blind)
#AC7D74
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9f881b;
/* rgb */ color: rgb(159, 136, 27);
/* oklch */ color: oklch(63.0% 0.122 96.1);
Tailwind
colors: {
  custom: {
    50: '#c0aa63',
    500: '#9f881b',
    950: '#000000',
  },
}
SCSS
$custom: #9f881b;
$custom-light: #c0aa63;
$custom-dark: #000000;
JSON
{
  "hex": "#9f881b",
  "rgb": {
    "r": 159,
    "g": 136,
    "b": 27
  },
  "hsl": {
    "h": 49.545,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.62973,
    "c": 0.12173,
    "h": 96.1
  },
  "luminance": 0.25058
}

Semantic roles & 50–950 ramp

primary
#9F881B
secondary
#5165C5
accent
#59EE3A
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9F881B

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

Preview Lab → · Contrast checker → · Palette generator →

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