#9D9524#9D9524

#9D9524 is a light, vivid yellow. Relative luminance 0.288; OKLCH L 65.7% C 0.128 H 105.2°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#9D9524
RGBrgb(157, 149, 36)
HSLhsl(56, 63%, 38%)
HSVhsv(56, 77%, 62%)
CMYKcmyk(0%, 5.1%, 77.1%, 38.4%)
CIE-LABlab(60.60, -9.92, 56.34)
CIE-LCHlch(60.60, 57.20, 99.99°)
OKLaboklab(65.69% -0.0335 0.1233)
OKLCHoklch(65.69% 0.128 105.2)
XYZxyz(24.9716, 28.7913, 5.9106)
Luminance0.2879 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9524 #242C9D
analogous
#9D5824 #9D9524 #689D24
triadic
#9D9524 #249D95 #95249D
tetradic
#9D9524 #249D58 #242C9D #9D2468
square
#9D9524 #249D58 #242C9D #9D2468
split-complementary
#9D9524 #24689D #58249D
monochromatic
#39370D #6B6619 #9D9524 #CFC42F #DBD361

Accessibility & contrast

On white

3.11
#9D9524 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#9D9524 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D9524
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9524#FFFFFF#000000##000000
##9D95241.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A38F09
Deuteranopia (green-blind)
#A5942D
Tritanopia (blue-blind)
#A98A80
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9d9524;
/* rgb */ color: rgb(157, 149, 36);
/* oklch */ color: oklch(65.7% 0.128 105.2);
Tailwind
colors: {
  custom: {
    50: '#beb368',
    500: '#9d9524',
    950: '#000000',
  },
}
SCSS
$custom: #9d9524;
$custom-light: #beb368;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9524",
  "rgb": {
    "r": 157,
    "g": 149,
    "b": 36
  },
  "hsl": {
    "h": 56.033,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.65692,
    "c": 0.12773,
    "h": 105.2
  },
  "luminance": 0.2879
}

Semantic roles & 50–950 ramp

primary
#9D9524
secondary
#5D64C0
accent
#4DE642
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9D9524

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

Preview Lab → · Contrast checker → · Palette generator →

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