#9D9724#9D9724

#9D9724 is a light, vivid yellow. Relative luminance 0.294; OKLCH L 66.1% C 0.130 H 106.4°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#9D9724
RGBrgb(157, 151, 36)
HSLhsl(57, 63%, 38%)
HSVhsv(57, 77%, 62%)
CMYKcmyk(0%, 3.8%, 77.1%, 38.4%)
CIE-LABlab(61.16, -10.99, 56.85)
CIE-LCHlch(61.16, 57.91, 100.94°)
OKLaboklab(66.14% -0.0365 0.1244)
OKLCHoklch(66.14% 0.13 106.4)
XYZxyz(25.2907, 29.4296, 6.0170)
Luminance0.2943 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9724 #242A9D
analogous
#9D5B24 #9D9724 #669D24
triadic
#9D9724 #249D97 #97249D
tetradic
#9D9724 #249D5B #242A9D #9D2466
square
#9D9724 #249D5B #242A9D #9D2466
split-complementary
#9D9724 #24669D #5B249D
monochromatic
#39370D #6B6719 #9D9724 #CFC72F #DBD561

Accessibility & contrast

On white

3.05
#9D9724 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#9D9724 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D9724
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9724#FFFFFF#000000##000000
##9D97241.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49108
Deuteranopia (green-blind)
#A7962D
Tritanopia (blue-blind)
#A98C81
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9d9724;
/* rgb */ color: rgb(157, 151, 36);
/* oklch */ color: oklch(66.1% 0.130 106.4);
Tailwind
colors: {
  custom: {
    50: '#beb569',
    500: '#9d9724',
    950: '#000000',
  },
}
SCSS
$custom: #9d9724;
$custom-light: #beb569;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9724",
  "rgb": {
    "r": 157,
    "g": 151,
    "b": 36
  },
  "hsl": {
    "h": 57.025,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.6614,
    "c": 0.1296,
    "h": 106.4
  },
  "luminance": 0.29429
}

Semantic roles & 50–950 ramp

primary
#9D9724
secondary
#5D62C0
accent
#4AE642
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9D9724

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

Preview Lab → · Contrast checker → · Palette generator →

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