#9D982D#9D982D

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

Color values

HEX#9D982D
RGBrgb(157, 152, 45)
HSLhsl(57, 55%, 40%)
HSVhsv(57, 71%, 62%)
CMYKcmyk(0%, 3.2%, 71.3%, 38.4%)
CIE-LABlab(61.49, -11.09, 53.92)
CIE-LCHlch(61.49, 55.05, 101.63°)
OKLaboklab(66.42% -0.0359 0.1198)
OKLCHoklch(66.42% 0.125 106.7)
XYZxyz(25.6075, 29.8149, 6.8881)
Luminance0.2981 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D982D #2D329D
analogous
#9D602D #9D982D #6A9D2D
triadic
#9D982D #2D9D98 #982D9D
tetradic
#9D982D #2D9D60 #2D329D #9D2D6A
square
#9D982D #2D9D60 #2D329D #9D2D6A
split-complementary
#9D982D #2D6A9D #602D9D
monochromatic
#3E3C12 #6D6A1F #9D982D #C8C23F #D6D16F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D982D#FFFFFF#000000##000000
##9D982D1.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)
#A5921B
Deuteranopia (green-blind)
#A79634
Tritanopia (blue-blind)
#A98E83
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9d982d;
/* rgb */ color: rgb(157, 152, 45);
/* oklch */ color: oklch(66.4% 0.125 106.7);
Tailwind
colors: {
  custom: {
    50: '#bdb66d',
    500: '#9d982d',
    950: '#000000',
  },
}
SCSS
$custom: #9d982d;
$custom-light: #bdb66d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d982d",
  "rgb": {
    "r": 157,
    "g": 152,
    "b": 45
  },
  "hsl": {
    "h": 57.321,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.66424,
    "c": 0.1251,
    "h": 106.7
  },
  "luminance": 0.29814
}

Semantic roles & 50–950 ramp

primary
#9D982D
secondary
#696DBD
accent
#50DF49
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #9D982D

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

Preview Lab → · Contrast checker → · Palette generator →

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