#9F9C1A#9F9C1A

#9F9C1A is a light, vivid yellow. Relative luminance 0.312; OKLCH L 67.4% C 0.139 H 108.2°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#9F9C1A
RGBrgb(159, 156, 26)
HSLhsl(59, 72%, 36%)
HSVhsv(59, 84%, 62%)
CMYKcmyk(0%, 1.9%, 83.6%, 37.6%)
CIE-LABlab(62.70, -13.08, 61.24)
CIE-LCHlch(62.70, 62.62, 102.06°)
OKLaboklab(67.39% -0.0432 0.1318)
OKLCHoklch(67.39% 0.139 108.2)
XYZxyz(26.3741, 31.2234, 5.6145)
Luminance0.3122 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9C1A #1A1D9F
analogous
#9F5A1A #9F9C1A #609F1A
triadic
#9F9C1A #1A9F9C #9C1A9F
tetradic
#9F9C1A #1A9F5A #1A1D9F #9F1A60
square
#9F9C1A #1A9F5A #1A1D9F #9F1A60
split-complementary
#9F9C1A #1A609F #5A1A9F
monochromatic
#363509 #6A6811 #9F9C1A #D4D023 #E3DF51

Accessibility & contrast

On white

2.90
#9F9C1A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#9F9C1A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F9C1A
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9C1A#FFFFFF#000000##000000
##9F9C1A1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9500
Deuteranopia (green-blind)
#AC9A27
Tritanopia (blue-blind)
#AB9185
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9f9c1a;
/* rgb */ color: rgb(159, 156, 26);
/* oklch */ color: oklch(67.4% 0.139 108.2);
Tailwind
colors: {
  custom: {
    50: '#bfb865',
    500: '#9f9c1a',
    950: '#000000',
  },
}
SCSS
$custom: #9f9c1a;
$custom-light: #bfb865;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9c1a",
  "rgb": {
    "r": 159,
    "g": 156,
    "b": 26
  },
  "hsl": {
    "h": 58.647,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.67394,
    "c": 0.13871,
    "h": 108.2
  },
  "luminance": 0.31222
}

Semantic roles & 50–950 ramp

primary
#9F9C1A
secondary
#5052C5
accent
#3DEF39
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9F9C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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