#9F891B#9F891B

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

Color values

HEX#9F891B
RGBrgb(159, 137, 27)
HSLhsl(50, 71%, 36%)
HSVhsv(50, 83%, 62%)
CMYKcmyk(0%, 13.8%, 83%, 37.6%)
CIE-LABlab(57.41, -2.85, 56.44)
CIE-LCHlch(57.41, 56.51, 92.89°)
OKLaboklab(63.19% -0.0145 0.1216)
OKLCHoklch(63.19% 0.122 96.8)
XYZxyz(23.4429, 25.3427, 4.6935)
Luminance0.2534 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F891B #1B319F
analogous
#9F471B #9F891B #739F1B
triadic
#9F891B #1B9F89 #891B9F
tetradic
#9F891B #1B9F47 #1B319F #9F1B73
square
#9F891B #1B9F47 #1B319F #9F1B73
split-complementary
#9F891B #1B739F #471B9F
monochromatic
#362F09 #6B5C12 #9F891B #D3B624 #E2CA53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F891B#FFFFFF#000000##000000
##9F891B1.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)
#9E8D24
Tritanopia (blue-blind)
#AC7E75
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9f891b;
/* rgb */ color: rgb(159, 137, 27);
/* oklch */ color: oklch(63.2% 0.122 96.8);
Tailwind
colors: {
  custom: {
    50: '#c0ab63',
    500: '#9f891b',
    950: '#000000',
  },
}
SCSS
$custom: #9f891b;
$custom-light: #c0ab63;
$custom-dark: #000000;
JSON
{
  "hex": "#9f891b",
  "rgb": {
    "r": 159,
    "g": 137,
    "b": 27
  },
  "hsl": {
    "h": 50,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.6319,
    "c": 0.12242,
    "h": 96.8
  },
  "luminance": 0.25341
}

Semantic roles & 50–950 ramp

primary
#9F891B
secondary
#5164C5
accent
#58EE3A
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9F891B

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

Preview Lab → · Contrast checker → · Palette generator →

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