#9C982A#9C982A

#9C982A is a light, vivid yellow. Relative luminance 0.297; OKLCH L 66.3% C 0.127 H 107.3°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#9C982A
RGBrgb(156, 152, 42)
HSLhsl(58, 58%, 39%)
HSVhsv(58, 73%, 61%)
CMYKcmyk(0%, 2.6%, 73.1%, 38.8%)
CIE-LABlab(61.39, -11.69, 54.92)
CIE-LCHlch(61.39, 56.15, 102.02°)
OKLaboklab(66.31% -0.0378 0.1214)
OKLCHoklch(66.31% 0.127 107.3)
XYZxyz(25.3574, 29.6924, 6.5855)
Luminance0.2969 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C982A #2A2E9C
analogous
#9C5F2A #9C982A #679C2A
triadic
#9C982A #2A9C98 #982A9C
tetradic
#9C982A #2A9C5F #2A2E9C #9C2A67
square
#9C982A #2A9C5F #2A2E9C #9C2A67
split-complementary
#9C982A #2A679C #5F2A9C
monochromatic
#3C3A10 #6C691D #9C982A #CAC539 #D7D36A

Accessibility & contrast

On white

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

On black

6.94
#9C982A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C982A
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C982A#FFFFFF#000000##000000
##9C982A1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59216
Deuteranopia (green-blind)
#A79632
Tritanopia (blue-blind)
#A88E83
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9c982a;
/* rgb */ color: rgb(156, 152, 42);
/* oklch */ color: oklch(66.3% 0.127 107.3);
Tailwind
colors: {
  custom: {
    50: '#bdb66c',
    500: '#9c982a',
    950: '#000000',
  },
}
SCSS
$custom: #9c982a;
$custom-light: #bdb66c;
$custom-dark: #000000;
JSON
{
  "hex": "#9c982a",
  "rgb": {
    "r": 156,
    "g": 152,
    "b": 42
  },
  "hsl": {
    "h": 57.895,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.66312,
    "c": 0.1272,
    "h": 107.3
  },
  "luminance": 0.29692
}

Semantic roles & 50–950 ramp

primary
#9C982A
secondary
#6568BD
accent
#4CE147
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #9C982A

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

Preview Lab → · Contrast checker → · Palette generator →

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