#9F891C#9F891C

#9F891C 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#9F891C
RGBrgb(159, 137, 28)
HSLhsl(50, 70%, 37%)
HSVhsv(50, 82%, 62%)
CMYKcmyk(0%, 13.8%, 82.4%, 37.6%)
CIE-LABlab(57.41, -2.82, 56.14)
CIE-LCHlch(57.41, 56.21, 92.87°)
OKLaboklab(63.2% -0.0143 0.1211)
OKLCHoklch(63.2% 0.122 96.8)
XYZxyz(23.4546, 25.3474, 4.7555)
Luminance0.2535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F891C #1C329F
analogous
#9F481C #9F891C #749F1C
triadic
#9F891C #1C9F89 #891C9F
tetradic
#9F891C #1C9F48 #1C329F #9F1C74
square
#9F891C #1C9F48 #1C329F #9F1C74
split-complementary
#9F891C #1C749F #481C9F
monochromatic
#372F0A #6B5C13 #9F891C #D3B625 #E1C954

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F891C#FFFFFF#000000##000000
##9F891C1.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: #9f891c;
/* rgb */ color: rgb(159, 137, 28);
/* oklch */ color: oklch(63.2% 0.122 96.8);
Tailwind
colors: {
  custom: {
    50: '#c0ab63',
    500: '#9f891c',
    950: '#000000',
  },
}
SCSS
$custom: #9f891c;
$custom-light: #c0ab63;
$custom-dark: #000000;
JSON
{
  "hex": "#9f891c",
  "rgb": {
    "r": 159,
    "g": 137,
    "b": 28
  },
  "hsl": {
    "h": 49.924,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.63195,
    "c": 0.12197,
    "h": 96.8
  },
  "luminance": 0.25346
}

Semantic roles & 50–950 ramp

primary
#9F891C
secondary
#5366C4
accent
#59ED3B
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9F891C

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

Preview Lab → · Contrast checker → · Palette generator →

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