#9C981D#9C981D

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

Color values

HEX#9C981D
RGBrgb(156, 152, 29)
HSLhsl(58, 69%, 36%)
HSVhsv(58, 81%, 61%)
CMYKcmyk(0%, 2.6%, 81.4%, 38.8%)
CIE-LABlab(61.32, -12.23, 59.14)
CIE-LCHlch(61.32, 60.39, 101.68°)
OKLaboklab(66.24% -0.0405 0.128)
OKLCHoklch(66.24% 0.134 107.6)
XYZxyz(25.1614, 29.6140, 5.5528)
Luminance0.2961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C981D #1D219C
analogous
#9C591D #9C981D #619C1D
triadic
#9C981D #1D9C98 #981D9C
tetradic
#9C981D #1D9C59 #1D219C #9C1D61
square
#9C981D #1D9C59 #1D219C #9C1D61
split-complementary
#9C981D #1D619C #591D9C
monochromatic
#35330A #686613 #9C981D #D0CA27 #DFDB54

Accessibility & contrast

On white

3.03
#9C981D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C981D#FFFFFF#000000##000000
##9C981D1.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59200
Deuteranopia (green-blind)
#A89628
Tritanopia (blue-blind)
#A88D82
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9c981d;
/* rgb */ color: rgb(156, 152, 29);
/* oklch */ color: oklch(66.2% 0.134 107.6);
Tailwind
colors: {
  custom: {
    50: '#bdb666',
    500: '#9c981d',
    950: '#000000',
  },
}
SCSS
$custom: #9c981d;
$custom-light: #bdb666;
$custom-dark: #000000;
JSON
{
  "hex": "#9c981d",
  "rgb": {
    "r": 156,
    "g": 152,
    "b": 29
  },
  "hsl": {
    "h": 58.11,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.66236,
    "c": 0.13421,
    "h": 107.6
  },
  "luminance": 0.29613
}

Semantic roles & 50–950 ramp

primary
#9C981D
secondary
#5256C2
accent
#42EB3C
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9C981D

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

Preview Lab → · Contrast checker → · Palette generator →

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