#9F911D#9F911D

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

Color values

HEX#9F911D
RGBrgb(159, 145, 29)
HSLhsl(54, 69%, 37%)
HSVhsv(54, 82%, 62%)
CMYKcmyk(0%, 8.8%, 81.8%, 37.6%)
CIE-LABlab(59.63, -7.14, 57.77)
CIE-LCHlch(59.63, 58.21, 97.04°)
OKLaboklab(64.95% -0.0264 0.1249)
OKLCHoklch(64.95% 0.128 101.9)
XYZxyz(24.6464, 27.7116, 5.2128)
Luminance0.2771 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F911D #1D2B9F
analogous
#9F501D #9F911D #6C9F1D
triadic
#9F911D #1D9F91 #911D9F
tetradic
#9F911D #1D9F50 #1D2B9F #9F1D6C
square
#9F911D #1D9F50 #1D2B9F #9F1D6C
split-complementary
#9F911D #1D6C9F #501D9F
monochromatic
#37330A #6B6214 #9F911D #D3C026 #E0D156

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #9f911d;
/* rgb */ color: rgb(159, 145, 29);
/* oklch */ color: oklch(65.0% 0.128 101.9);
Tailwind
colors: {
  custom: {
    50: '#bfb065',
    500: '#9f911d',
    950: '#000000',
  },
}
SCSS
$custom: #9f911d;
$custom-light: #bfb065;
$custom-dark: #000000;
JSON
{
  "hex": "#9f911d",
  "rgb": {
    "r": 159,
    "g": 145,
    "b": 29
  },
  "hsl": {
    "h": 53.538,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.64953,
    "c": 0.12761,
    "h": 101.9
  },
  "luminance": 0.2771
}

Semantic roles & 50–950 ramp

primary
#9F911D
secondary
#5460C4
accent
#4FEC3C
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9F911D

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

Preview Lab → · Contrast checker → · Palette generator →

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