#9C982C#9C982C

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

Color values

HEX#9C982C
RGBrgb(156, 152, 44)
HSLhsl(58, 56%, 39%)
HSVhsv(58, 72%, 61%)
CMYKcmyk(0%, 2.6%, 71.8%, 38.8%)
CIE-LABlab(61.40, -11.59, 54.18)
CIE-LCHlch(61.40, 55.41, 102.07°)
OKLaboklab(66.33% -0.0374 0.1202)
OKLCHoklch(66.33% 0.126 107.3)
XYZxyz(25.3941, 29.7071, 6.7788)
Luminance0.2971 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C982C #2C309C
analogous
#9C602C #9C982C #689C2C
triadic
#9C982C #2C9C98 #982C9C
tetradic
#9C982C #2C9C60 #2C309C #9C2C68
square
#9C982C #2C9C60 #2C309C #9C2C68
split-complementary
#9C982C #2C689C #602C9C
monochromatic
#3D3B11 #6C691F #9C982C #C8C33D #D6D26D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C982C#FFFFFF#000000##000000
##9C982C1.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)
#A5921A
Deuteranopia (green-blind)
#A79634
Tritanopia (blue-blind)
#A78E83
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9c982c;
/* rgb */ color: rgb(156, 152, 44);
/* oklch */ color: oklch(66.3% 0.126 107.3);
Tailwind
colors: {
  custom: {
    50: '#bcb66d',
    500: '#9c982c',
    950: '#000000',
  },
}
SCSS
$custom: #9c982c;
$custom-light: #bcb66d;
$custom-dark: #000000;
JSON
{
  "hex": "#9c982c",
  "rgb": {
    "r": 156,
    "g": 152,
    "b": 44
  },
  "hsl": {
    "h": 57.857,
    "s": 56,
    "l": 39.216
  },
  "oklch": {
    "l": 0.66327,
    "c": 0.12591,
    "h": 107.3
  },
  "luminance": 0.29706
}

Semantic roles & 50–950 ramp

primary
#9C982C
secondary
#676ABD
accent
#4EDF49
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #9C982C

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

Preview Lab → · Contrast checker → · Palette generator →

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