#9F9F1A#9F9F1A

#9F9F1A is a light, vivid yellow. Relative luminance 0.322; OKLCH L 68.1% C 0.142 H 109.6°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#9F9F1A
RGBrgb(159, 159, 26)
HSLhsl(60, 72%, 36%)
HSVhsv(60, 84%, 62%)
CMYKcmyk(0%, 0%, 83.6%, 37.6%)
CIE-LABlab(63.54, -14.65, 61.96)
CIE-LCHlch(63.54, 63.67, 103.30°)
OKLaboklab(68.07% -0.0476 0.1334)
OKLCHoklch(68.07% 0.142 109.6)
XYZxyz(26.8837, 32.2426, 5.7844)
Luminance0.3224 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9F1A #1A1A9F
analogous
#9F5D1A #9F9F1A #5D9F1A
triadic
#9F9F1A #1A9F9F #9F1A9F
tetradic
#9F9F1A #1A9F5D #1A1A9F #9F1A5D
square
#9F9F1A #1A9F5D #1A1A9F #9F1A5D
split-complementary
#9F9F1A #1A5D9F #5D1A9F
monochromatic
#363609 #6A6A11 #9F9F1A #D4D423 #E3E351

Accessibility & contrast

On white

2.82
#9F9F1A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#9F9F1A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F9F1A
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9F1A#FFFFFF#000000##000000
##9F9F1A1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9800
Deuteranopia (green-blind)
#AE9C28
Tritanopia (blue-blind)
#AB9488
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9f9f1a;
/* rgb */ color: rgb(159, 159, 26);
/* oklch */ color: oklch(68.1% 0.142 109.6);
Tailwind
colors: {
  custom: {
    50: '#bfbb66',
    500: '#9f9f1a',
    950: '#000000',
  },
}
SCSS
$custom: #9f9f1a;
$custom-light: #bfbb66;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9f1a",
  "rgb": {
    "r": 159,
    "g": 159,
    "b": 26
  },
  "hsl": {
    "h": 60,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.6807,
    "c": 0.14159,
    "h": 109.6
  },
  "luminance": 0.32242
}

Semantic roles & 50–950 ramp

primary
#9F9F1A
secondary
#5050C5
accent
#39EF39
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9F9F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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