#9F911B#9F911B

#9F911B is a light, vivid yellow. Relative luminance 0.277; OKLCH L 64.9% C 0.129 H 102.0°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#9F911B
RGBrgb(159, 145, 27)
HSLhsl(54, 71%, 36%)
HSVhsv(54, 83%, 62%)
CMYKcmyk(0%, 8.8%, 83%, 37.6%)
CIE-LABlab(59.62, -7.20, 58.34)
CIE-LCHlch(59.62, 58.79, 97.04°)
OKLaboklab(64.94% -0.0268 0.1257)
OKLCHoklch(64.94% 0.129 102)
XYZxyz(24.6225, 27.7020, 5.0868)
Luminance0.2770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F911B #1B299F
analogous
#9F4F1B #9F911B #6B9F1B
triadic
#9F911B #1B9F91 #911B9F
tetradic
#9F911B #1B9F4F #1B299F #9F1B6B
square
#9F911B #1B9F4F #1B299F #9F1B6B
split-complementary
#9F911B #1B6B9F #4F1B9F
monochromatic
#363209 #6B6112 #9F911B #D3C124 #E2D353

Accessibility & contrast

On white

3.21
#9F911B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#9F911B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F911B
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F911B#FFFFFF#000000##000000
##9F911B1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#A39225
Tritanopia (blue-blind)
#AC867C
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9f911b;
/* rgb */ color: rgb(159, 145, 27);
/* oklch */ color: oklch(64.9% 0.129 102.0);
Tailwind
colors: {
  custom: {
    50: '#bfb064',
    500: '#9f911b',
    950: '#000000',
  },
}
SCSS
$custom: #9f911b;
$custom-light: #bfb064;
$custom-dark: #000000;
JSON
{
  "hex": "#9f911b",
  "rgb": {
    "r": 159,
    "g": 145,
    "b": 27
  },
  "hsl": {
    "h": 53.636,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.64944,
    "c": 0.12852,
    "h": 102
  },
  "luminance": 0.27701
}

Semantic roles & 50–950 ramp

primary
#9F911B
secondary
#515DC5
accent
#4DEE3A
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9F911B

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

Preview Lab → · Contrast checker → · Palette generator →

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