#9F931A#9F931A

#9F931A is a light, vivid yellow. Relative luminance 0.283; OKLCH L 65.4% C 0.131 H 103.3°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#9F931A
RGBrgb(159, 147, 26)
HSLhsl(55, 72%, 36%)
HSVhsv(55, 84%, 62%)
CMYKcmyk(0%, 7.5%, 83.6%, 37.6%)
CIE-LABlab(60.17, -8.31, 59.10)
CIE-LCHlch(60.17, 59.68, 98.00°)
OKLaboklab(65.38% -0.0299 0.1271)
OKLCHoklch(65.38% 0.131 103.3)
XYZxyz(24.9194, 28.3141, 5.1296)
Luminance0.2831 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F931A #1A269F
analogous
#9F511A #9F931A #699F1A
triadic
#9F931A #1A9F93 #931A9F
tetradic
#9F931A #1A9F51 #1A269F #9F1A69
square
#9F931A #1A9F51 #1A269F #9F1A69
split-complementary
#9F931A #1A699F #511A9F
monochromatic
#363209 #6A6211 #9F931A #D4C423 #E3D551

Accessibility & contrast

On white

3.15
#9F931A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#9F931A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F931A
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F931A#FFFFFF#000000##000000
##9F931A1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#A59325
Tritanopia (blue-blind)
#AC887D
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9f931a;
/* rgb */ color: rgb(159, 147, 26);
/* oklch */ color: oklch(65.4% 0.131 103.3);
Tailwind
colors: {
  custom: {
    50: '#bfb264',
    500: '#9f931a',
    950: '#000000',
  },
}
SCSS
$custom: #9f931a;
$custom-light: #bfb264;
$custom-dark: #000000;
JSON
{
  "hex": "#9f931a",
  "rgb": {
    "r": 159,
    "g": 147,
    "b": 26
  },
  "hsl": {
    "h": 54.586,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.65382,
    "c": 0.13061,
    "h": 103.3
  },
  "luminance": 0.28313
}

Semantic roles & 50–950 ramp

primary
#9F931A
secondary
#505AC5
accent
#4AEF39
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9F931A

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

Preview Lab → · Contrast checker → · Palette generator →

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