#9F931D#9F931D

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

Color values

HEX#9F931D
RGBrgb(159, 147, 29)
HSLhsl(54, 69%, 37%)
HSVhsv(54, 82%, 62%)
CMYKcmyk(0%, 7.5%, 81.8%, 37.6%)
CIE-LABlab(60.18, -8.21, 58.26)
CIE-LCHlch(60.18, 58.83, 98.03°)
OKLaboklab(65.4% -0.0294 0.1259)
OKLCHoklch(65.4% 0.129 103.2)
XYZxyz(24.9547, 28.3282, 5.3156)
Luminance0.2833 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F931D #1D299F
analogous
#9F521D #9F931D #6A9F1D
triadic
#9F931D #1D9F93 #931D9F
tetradic
#9F931D #1D9F52 #1D299F #9F1D6A
square
#9F931D #1D9F52 #1D299F #9F1D6A
split-complementary
#9F931D #1D6A9F #521D9F
monochromatic
#37330A #6B6314 #9F931D #D3C326 #E0D356

Accessibility & contrast

On white

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

On black

6.67
#9F931D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F931D
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F931D#FFFFFF#000000##000000
##9F931D1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f931d;
/* rgb */ color: rgb(159, 147, 29);
/* oklch */ color: oklch(65.4% 0.129 103.2);
Tailwind
colors: {
  custom: {
    50: '#bfb265',
    500: '#9f931d',
    950: '#000000',
  },
}
SCSS
$custom: #9f931d;
$custom-light: #bfb265;
$custom-dark: #000000;
JSON
{
  "hex": "#9f931d",
  "rgb": {
    "r": 159,
    "g": 147,
    "b": 29
  },
  "hsl": {
    "h": 54.462,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.65396,
    "c": 0.1293,
    "h": 103.2
  },
  "luminance": 0.28327
}

Semantic roles & 50–950 ramp

primary
#9F931D
secondary
#545EC4
accent
#4CEC3C
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9F931D

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

Preview Lab → · Contrast checker → · Palette generator →

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