#9DAD31#9DAD31

#9DAD31 is a light, vivid yellow. Relative luminance 0.373; OKLCH L 71.2% C 0.145 H 116.6°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#9DAD31
RGBrgb(157, 173, 49)
HSLhsl(68, 56%, 44%)
HSVhsv(68, 72%, 68%)
CMYKcmyk(9.2%, 0%, 71.7%, 32.2%)
CIE-LABlab(67.48, -21.69, 58.29)
CIE-LCHlch(67.48, 62.19, 110.41°)
OKLaboklab(71.23% -0.0651 0.1298)
OKLCHoklch(71.23% 0.145 116.6)
XYZxyz(29.4033, 37.2774, 8.5514)
Luminance0.3728 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DAD31 #4131AD
analogous
#AD7F31 #9DAD31 #5FAD31
triadic
#9DAD31 #319DAD #AD319D
tetradic
#9DAD31 #31AD7F #4131AD #AD315F
square
#9DAD31 #31AD7F #4131AD #AD315F
split-complementary
#9DAD31 #315FAD #7F31AD
monochromatic
#464E16 #727D23 #9DAD31 #BDCD4E #CFDA7E

Accessibility & contrast

On white

2.48
#9DAD31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#9DAD31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DAD31
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DAD31#FFFFFF#000000##000000
##9DAD311.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A41B
Deuteranopia (green-blind)
#B8A53B
Tritanopia (blue-blind)
#A7A395
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9dad31;
/* rgb */ color: rgb(157, 173, 49);
/* oklch */ color: oklch(71.2% 0.145 116.6);
Tailwind
colors: {
  custom: {
    50: '#bdc572',
    500: '#9dad31',
    950: '#000000',
  },
}
SCSS
$custom: #9dad31;
$custom-light: #bdc572;
$custom-dark: #000000;
JSON
{
  "hex": "#9dad31",
  "rgb": {
    "r": 157,
    "g": 173,
    "b": 49
  },
  "hsl": {
    "h": 67.742,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.71226,
    "c": 0.14517,
    "h": 116.6
  },
  "luminance": 0.37277
}

Semantic roles & 50–950 ramp

primary
#9DAD31
secondary
#8077C3
accent
#49DF5C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9DAD31

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

Preview Lab → · Contrast checker → · Palette generator →

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