#9D982A#9D982A

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

Color values

HEX#9D982A
RGBrgb(157, 152, 42)
HSLhsl(57, 58%, 39%)
HSVhsv(57, 73%, 62%)
CMYKcmyk(0%, 3.2%, 73.2%, 38.4%)
CIE-LABlab(61.47, -11.24, 55.03)
CIE-LCHlch(61.47, 56.17, 101.55°)
OKLaboklab(66.4% -0.0366 0.1216)
OKLCHoklch(66.4% 0.127 106.8)
XYZxyz(25.5518, 29.7926, 6.5946)
Luminance0.2979 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D982A #2A2F9D
analogous
#9D5F2A #9D982A #699D2A
triadic
#9D982A #2A9D98 #982A9D
tetradic
#9D982A #2A9D5F #2A2F9D #9D2A69
square
#9D982A #2A9D5F #2A2F9D #9D2A69
split-complementary
#9D982A #2A699D #5F2A9D
monochromatic
#3C3B10 #6D691D #9D982A #CAC43A #D7D26A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D982A#FFFFFF#000000##000000
##9D982A1.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)
#A59216
Deuteranopia (green-blind)
#A79632
Tritanopia (blue-blind)
#A98E83
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9d982a;
/* rgb */ color: rgb(157, 152, 42);
/* oklch */ color: oklch(66.4% 0.127 106.8);
Tailwind
colors: {
  custom: {
    50: '#bdb66c',
    500: '#9d982a',
    950: '#000000',
  },
}
SCSS
$custom: #9d982a;
$custom-light: #bdb66c;
$custom-dark: #000000;
JSON
{
  "hex": "#9d982a",
  "rgb": {
    "r": 157,
    "g": 152,
    "b": 42
  },
  "hsl": {
    "h": 57.391,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.66403,
    "c": 0.12704,
    "h": 106.8
  },
  "luminance": 0.29792
}

Semantic roles & 50–950 ramp

primary
#9D982A
secondary
#6569BE
accent
#4DE147
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #9D982A

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

Preview Lab → · Contrast checker → · Palette generator →

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