#9F971C#9F971C

#9F971C is a light, vivid yellow. Relative luminance 0.296; OKLCH L 66.3% C 0.133 H 105.5°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#9F971C
RGBrgb(159, 151, 28)
HSLhsl(56, 70%, 37%)
HSVhsv(56, 82%, 62%)
CMYKcmyk(0%, 5%, 82.4%, 37.6%)
CIE-LABlab(61.30, -10.38, 59.51)
CIE-LCHlch(61.30, 60.41, 99.90°)
OKLaboklab(66.28% -0.0356 0.1284)
OKLCHoklch(66.28% 0.133 105.5)
XYZxyz(25.5754, 29.5890, 5.4625)
Luminance0.2959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F971C #1C249F
analogous
#9F561C #9F971C #669F1C
triadic
#9F971C #1C9F97 #971C9F
tetradic
#9F971C #1C9F56 #1C249F #9F1C66
square
#9F971C #1C9F56 #1C249F #9F1C66
split-complementary
#9F971C #1C669F #561C9F
monochromatic
#37340A #6B6613 #9F971C #D3C825 #E1D854

Accessibility & contrast

On white

3.04
#9F971C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#9F971C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F971C
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F971C#FFFFFF#000000##000000
##9F971C1.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#A89627
Tritanopia (blue-blind)
#AB8C81
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9f971c;
/* rgb */ color: rgb(159, 151, 28);
/* oklch */ color: oklch(66.3% 0.133 105.5);
Tailwind
colors: {
  custom: {
    50: '#bfb565',
    500: '#9f971c',
    950: '#000000',
  },
}
SCSS
$custom: #9f971c;
$custom-light: #bfb565;
$custom-dark: #000000;
JSON
{
  "hex": "#9f971c",
  "rgb": {
    "r": 159,
    "g": 151,
    "b": 28
  },
  "hsl": {
    "h": 56.336,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.66281,
    "c": 0.13325,
    "h": 105.5
  },
  "luminance": 0.29588
}

Semantic roles & 50–950 ramp

primary
#9F971C
secondary
#535AC4
accent
#46ED3B
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9F971C

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

Preview Lab → · Contrast checker → · Palette generator →

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