#9F931C#9F931C

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

Color values

HEX#9F931C
RGBrgb(159, 147, 28)
HSLhsl(55, 70%, 37%)
HSVhsv(55, 82%, 62%)
CMYKcmyk(0%, 7.5%, 82.4%, 37.6%)
CIE-LABlab(60.18, -8.25, 58.54)
CIE-LCHlch(60.18, 59.12, 98.02°)
OKLaboklab(65.39% -0.0296 0.1263)
OKLCHoklch(65.39% 0.13 103.2)
XYZxyz(24.9426, 28.3233, 5.2515)
Luminance0.2832 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F931C #1C289F
analogous
#9F521C #9F931C #6A9F1C
triadic
#9F931C #1C9F93 #931C9F
tetradic
#9F931C #1C9F52 #1C289F #9F1C6A
square
#9F931C #1C9F52 #1C289F #9F1C6A
split-complementary
#9F931C #1C6A9F #521C9F
monochromatic
#37330A #6B6313 #9F931C #D3C325 #E1D454

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F931C#FFFFFF#000000##000000
##9F931C1.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)
#A59326
Tritanopia (blue-blind)
#AC887E
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9f931c;
/* rgb */ color: rgb(159, 147, 28);
/* oklch */ color: oklch(65.4% 0.130 103.2);
Tailwind
colors: {
  custom: {
    50: '#bfb265',
    500: '#9f931c',
    950: '#000000',
  },
}
SCSS
$custom: #9f931c;
$custom-light: #bfb265;
$custom-dark: #000000;
JSON
{
  "hex": "#9f931c",
  "rgb": {
    "r": 159,
    "g": 147,
    "b": 28
  },
  "hsl": {
    "h": 54.504,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.65391,
    "c": 0.12974,
    "h": 103.2
  },
  "luminance": 0.28322
}

Semantic roles & 50–950 ramp

primary
#9F931C
secondary
#535DC4
accent
#4BED3B
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9F931C

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

Preview Lab → · Contrast checker → · Palette generator →

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