#9D982C#9D982C

#9D982C is a light, vivid yellow. Relative luminance 0.298; OKLCH L 66.4% C 0.126 H 106.7°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#9D982C
RGBrgb(157, 152, 44)
HSLhsl(57, 56%, 39%)
HSVhsv(57, 72%, 62%)
CMYKcmyk(0%, 3.2%, 72%, 38.4%)
CIE-LABlab(61.49, -11.14, 54.30)
CIE-LCHlch(61.49, 55.43, 101.60°)
OKLaboklab(66.42% -0.0362 0.1205)
OKLCHoklch(66.42% 0.126 106.7)
XYZxyz(25.5885, 29.8073, 6.7879)
Luminance0.2981 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D982C #2C319D
analogous
#9D602C #9D982C #6A9D2C
triadic
#9D982C #2C9D98 #982C9D
tetradic
#9D982C #2C9D60 #2C319D #9D2C6A
square
#9D982C #2C9D60 #2C319D #9D2C6A
split-complementary
#9D982C #2C6A9D #602C9D
monochromatic
#3D3B11 #6D6A1F #9D982C #C9C33D #D6D26D

Accessibility & contrast

On white

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

On black

6.96
#9D982C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D982C
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D982C#FFFFFF#000000##000000
##9D982C1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5921A
Deuteranopia (green-blind)
#A79634
Tritanopia (blue-blind)
#A98E83
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9d982c;
/* rgb */ color: rgb(157, 152, 44);
/* oklch */ color: oklch(66.4% 0.126 106.7);
Tailwind
colors: {
  custom: {
    50: '#bdb66d',
    500: '#9d982c',
    950: '#000000',
  },
}
SCSS
$custom: #9d982c;
$custom-light: #bdb66d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d982c",
  "rgb": {
    "r": 157,
    "g": 152,
    "b": 44
  },
  "hsl": {
    "h": 57.345,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.66417,
    "c": 0.12576,
    "h": 106.7
  },
  "luminance": 0.29806
}

Semantic roles & 50–950 ramp

primary
#9D982C
secondary
#686BBD
accent
#4FE048
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #9D982C

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

Preview Lab → · Contrast checker → · Palette generator →

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