#9F911C#9F911C

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

Color values

HEX#9F911C
RGBrgb(159, 145, 28)
HSLhsl(54, 70%, 37%)
HSVhsv(54, 82%, 62%)
CMYKcmyk(0%, 8.8%, 82.4%, 37.6%)
CIE-LABlab(59.62, -7.17, 58.06)
CIE-LCHlch(59.62, 58.50, 97.04°)
OKLaboklab(64.95% -0.0266 0.1253)
OKLCHoklch(64.95% 0.128 102)
XYZxyz(24.6343, 27.7067, 5.1487)
Luminance0.2771 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F911C #1C2A9F
analogous
#9F501C #9F911C #6C9F1C
triadic
#9F911C #1C9F91 #911C9F
tetradic
#9F911C #1C9F50 #1C2A9F #9F1C6C
square
#9F911C #1C9F50 #1C2A9F #9F1C6C
split-complementary
#9F911C #1C6C9F #501C9F
monochromatic
#37320A #6B6213 #9F911C #D3C025 #E1D254

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F911C#FFFFFF#000000##000000
##9F911C1.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)
#A39226
Tritanopia (blue-blind)
#AC867C
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9f911c;
/* rgb */ color: rgb(159, 145, 28);
/* oklch */ color: oklch(64.9% 0.128 102.0);
Tailwind
colors: {
  custom: {
    50: '#bfb064',
    500: '#9f911c',
    950: '#000000',
  },
}
SCSS
$custom: #9f911c;
$custom-light: #bfb064;
$custom-dark: #000000;
JSON
{
  "hex": "#9f911c",
  "rgb": {
    "r": 159,
    "g": 145,
    "b": 28
  },
  "hsl": {
    "h": 53.588,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.64948,
    "c": 0.12807,
    "h": 102
  },
  "luminance": 0.27706
}

Semantic roles & 50–950 ramp

primary
#9F911C
secondary
#535FC4
accent
#4EED3B
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9F911C

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

Preview Lab → · Contrast checker → · Palette generator →

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