#9F9D1A#9F9D1A

#9F9D1A is a light, vivid yellow. Relative luminance 0.316; OKLCH L 67.6% C 0.140 H 108.7°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#9F9D1A
RGBrgb(159, 157, 26)
HSLhsl(59, 72%, 36%)
HSVhsv(59, 84%, 62%)
CMYKcmyk(0%, 1.3%, 83.6%, 37.6%)
CIE-LABlab(62.98, -13.60, 61.48)
CIE-LCHlch(62.98, 62.97, 102.48°)
OKLaboklab(67.62% -0.0447 0.1323)
OKLCHoklch(67.62% 0.14 108.7)
XYZxyz(26.5426, 31.5603, 5.6707)
Luminance0.3156 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9D1A #1A1C9F
analogous
#9F5B1A #9F9D1A #5F9F1A
triadic
#9F9D1A #1A9F9D #9D1A9F
tetradic
#9F9D1A #1A9F5B #1A1C9F #9F1A5F
square
#9F9D1A #1A9F5B #1A1C9F #9F1A5F
split-complementary
#9F9D1A #1A5F9F #5B1A9F
monochromatic
#363509 #6A6911 #9F9D1A #D4D123 #E3E051

Accessibility & contrast

On white

2.87
#9F9D1A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#9F9D1A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F9D1A
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9D1A#FFFFFF#000000##000000
##9F9D1A1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f9d1a;
/* rgb */ color: rgb(159, 157, 26);
/* oklch */ color: oklch(67.6% 0.140 108.7);
Tailwind
colors: {
  custom: {
    50: '#bfb965',
    500: '#9f9d1a',
    950: '#000000',
  },
}
SCSS
$custom: #9f9d1a;
$custom-light: #bfb965;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9d1a",
  "rgb": {
    "r": 159,
    "g": 157,
    "b": 26
  },
  "hsl": {
    "h": 59.098,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.67619,
    "c": 0.13967,
    "h": 108.7
  },
  "luminance": 0.31559
}

Semantic roles & 50–950 ramp

primary
#9F9D1A
secondary
#5051C5
accent
#3CEF39
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9F9D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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