#9C982D#9C982D

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

Color values

HEX#9C982D
RGBrgb(156, 152, 45)
HSLhsl(58, 55%, 39%)
HSVhsv(58, 71%, 61%)
CMYKcmyk(0%, 2.6%, 71.2%, 38.8%)
CIE-LABlab(61.41, -11.54, 53.80)
CIE-LCHlch(61.41, 55.03, 102.10°)
OKLaboklab(66.33% -0.0371 0.1196)
OKLCHoklch(66.33% 0.125 107.2)
XYZxyz(25.4132, 29.7147, 6.8790)
Luminance0.2971 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C982D #2D319C
analogous
#9C612D #9C982D #699C2D
triadic
#9C982D #2D9C98 #982D9C
tetradic
#9C982D #2D9C61 #2D319C #9C2D69
square
#9C982D #2D9C61 #2D319C #9C2D69
split-complementary
#9C982D #2D699C #612D9C
monochromatic
#3D3B12 #6D6A1F #9C982D #C8C33F #D5D26E

Accessibility & contrast

On white

3.02
#9C982D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C982D#FFFFFF#000000##000000
##9C982D1.003.026.946.94
#FFFFFF3.021.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5921B
Deuteranopia (green-blind)
#A79635
Tritanopia (blue-blind)
#A78E83
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9c982d;
/* rgb */ color: rgb(156, 152, 45);
/* oklch */ color: oklch(66.3% 0.125 107.2);
Tailwind
colors: {
  custom: {
    50: '#bcb66d',
    500: '#9c982d',
    950: '#000000',
  },
}
SCSS
$custom: #9c982d;
$custom-light: #bcb66d;
$custom-dark: #000000;
JSON
{
  "hex": "#9c982d",
  "rgb": {
    "r": 156,
    "g": 152,
    "b": 45
  },
  "hsl": {
    "h": 57.838,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.66334,
    "c": 0.12525,
    "h": 107.2
  },
  "luminance": 0.29714
}

Semantic roles & 50–950 ramp

primary
#9C982D
secondary
#686BBC
accent
#4FDF49
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #9C982D

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

Preview Lab → · Contrast checker → · Palette generator →

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