#9D981D#9D981D

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

Color values

HEX#9D981D
RGBrgb(157, 152, 29)
HSLhsl(58, 69%, 36%)
HSVhsv(58, 82%, 62%)
CMYKcmyk(0%, 3.2%, 81.5%, 38.4%)
CIE-LABlab(61.41, -11.78, 59.25)
CIE-LCHlch(61.41, 60.41, 101.24°)
OKLaboklab(66.33% -0.0393 0.1281)
OKLCHoklch(66.33% 0.134 107.1)
XYZxyz(25.3557, 29.7142, 5.5620)
Luminance0.2971 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D981D #1D229D
analogous
#9D581D #9D981D #629D1D
triadic
#9D981D #1D9D98 #981D9D
tetradic
#9D981D #1D9D58 #1D229D #9D1D62
square
#9D981D #1D9D58 #1D229D #9D1D62
split-complementary
#9D981D #1D629D #581D9D
monochromatic
#36340A #696613 #9D981D #D1CA27 #E0DA55

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D981D#FFFFFF#000000##000000
##9D981D1.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)
#A69200
Deuteranopia (green-blind)
#A89628
Tritanopia (blue-blind)
#A98D82
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9d981d;
/* rgb */ color: rgb(157, 152, 29);
/* oklch */ color: oklch(66.3% 0.134 107.1);
Tailwind
colors: {
  custom: {
    50: '#beb666',
    500: '#9d981d',
    950: '#000000',
  },
}
SCSS
$custom: #9d981d;
$custom-light: #beb666;
$custom-dark: #000000;
JSON
{
  "hex": "#9d981d",
  "rgb": {
    "r": 157,
    "g": 152,
    "b": 29
  },
  "hsl": {
    "h": 57.656,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.66327,
    "c": 0.13403,
    "h": 107.1
  },
  "luminance": 0.29713
}

Semantic roles & 50–950 ramp

primary
#9D981D
secondary
#5357C3
accent
#43EC3C
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9D981D

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

Preview Lab → · Contrast checker → · Palette generator →

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