#9F911A#9F911A

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

Color values

HEX#9F911A
RGBrgb(159, 145, 26)
HSLhsl(54, 72%, 36%)
HSVhsv(54, 84%, 62%)
CMYKcmyk(0%, 8.8%, 83.6%, 37.6%)
CIE-LABlab(59.61, -7.24, 58.62)
CIE-LCHlch(59.61, 59.07, 97.04°)
OKLaboklab(64.94% -0.0269 0.1261)
OKLCHoklch(64.94% 0.129 102.1)
XYZxyz(24.6111, 27.6975, 5.0269)
Luminance0.2770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F911A #1A289F
analogous
#9F4F1A #9F911A #6B9F1A
triadic
#9F911A #1A9F91 #911A9F
tetradic
#9F911A #1A9F4F #1A289F #9F1A6B
square
#9F911A #1A9F4F #1A289F #9F1A6B
split-complementary
#9F911A #1A6B9F #4F1A9F
monochromatic
#363109 #6A6111 #9F911A #D4C123 #E3D351

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F911A#FFFFFF#000000##000000
##9F911A1.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: #9f911a;
/* rgb */ color: rgb(159, 145, 26);
/* oklch */ color: oklch(64.9% 0.129 102.1);
Tailwind
colors: {
  custom: {
    50: '#bfb064',
    500: '#9f911a',
    950: '#000000',
  },
}
SCSS
$custom: #9f911a;
$custom-light: #bfb064;
$custom-dark: #000000;
JSON
{
  "hex": "#9f911a",
  "rgb": {
    "r": 159,
    "g": 145,
    "b": 26
  },
  "hsl": {
    "h": 53.684,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.64939,
    "c": 0.12895,
    "h": 102.1
  },
  "luminance": 0.27696
}

Semantic roles & 50–950 ramp

primary
#9F911A
secondary
#505CC5
accent
#4CEF39
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9F911A

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

Preview Lab → · Contrast checker → · Palette generator →

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