#9C971D#9C971D

#9C971D is a light, vivid yellow. Relative luminance 0.293; OKLCH L 66.0% C 0.133 H 107.0°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#9C971D
RGBrgb(156, 151, 29)
HSLhsl(58, 69%, 36%)
HSVhsv(58, 81%, 61%)
CMYKcmyk(0%, 3.2%, 81.4%, 38.8%)
CIE-LABlab(61.04, -11.70, 58.90)
CIE-LCHlch(61.04, 60.05, 101.24°)
OKLaboklab(66.01% -0.039 0.1274)
OKLCHoklch(66.01% 0.133 107)
XYZxyz(24.9997, 29.2908, 5.4990)
Luminance0.2929 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C971D #1D229C
analogous
#9C581D #9C971D #629C1D
triadic
#9C971D #1D9C97 #971D9C
tetradic
#9C971D #1D9C58 #1D229C #9C1D62
square
#9C971D #1D9C58 #1D229C #9C1D62
split-complementary
#9C971D #1D629C #581D9C
monochromatic
#35330A #686513 #9C971D #D0C927 #DFDA54

Accessibility & contrast

On white

3.06
#9C971D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#9C971D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C971D
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C971D#FFFFFF#000000##000000
##9C971D1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#A79528
Tritanopia (blue-blind)
#A88C81
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9c971d;
/* rgb */ color: rgb(156, 151, 29);
/* oklch */ color: oklch(66.0% 0.133 107.0);
Tailwind
colors: {
  custom: {
    50: '#bdb566',
    500: '#9c971d',
    950: '#000000',
  },
}
SCSS
$custom: #9c971d;
$custom-light: #bdb566;
$custom-dark: #000000;
JSON
{
  "hex": "#9c971d",
  "rgb": {
    "r": 156,
    "g": 151,
    "b": 29
  },
  "hsl": {
    "h": 57.638,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.66011,
    "c": 0.13326,
    "h": 107
  },
  "luminance": 0.2929
}

Semantic roles & 50–950 ramp

primary
#9C971D
secondary
#5257C2
accent
#43EB3C
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9C971D

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

Preview Lab → · Contrast checker → · Palette generator →

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