#9D9529#9D9529

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

Color values

HEX#9D9529
RGBrgb(157, 149, 41)
HSLhsl(56, 59%, 39%)
HSVhsv(56, 74%, 62%)
CMYKcmyk(0%, 5.1%, 73.9%, 38.4%)
CIE-LABlab(60.63, -9.70, 54.59)
CIE-LCHlch(60.63, 55.44, 100.07°)
OKLaboklab(65.72% -0.0324 0.1205)
OKLCHoklch(65.72% 0.125 105)
XYZxyz(25.0534, 28.8241, 6.3413)
Luminance0.2882 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9529 #29319D
analogous
#9D5B29 #9D9529 #6B9D29
triadic
#9D9529 #299D95 #95299D
tetradic
#9D9529 #299D5B #29319D #9D296B
square
#9D9529 #299D5B #29319D #9D296B
split-complementary
#9D9529 #296B9D #5B299D
monochromatic
#3C3910 #6C671C #9D9529 #CBC138 #D8D069

Accessibility & contrast

On white

3.10
#9D9529 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D9529#FFFFFF#000000##000000
##9D95291.003.106.766.76
#FFFFFF3.101.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29015
Deuteranopia (green-blind)
#A59431
Tritanopia (blue-blind)
#A98B80
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9d9529;
/* rgb */ color: rgb(157, 149, 41);
/* oklch */ color: oklch(65.7% 0.125 105.0);
Tailwind
colors: {
  custom: {
    50: '#bdb36b',
    500: '#9d9529',
    950: '#000000',
  },
}
SCSS
$custom: #9d9529;
$custom-light: #bdb36b;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9529",
  "rgb": {
    "r": 157,
    "g": 149,
    "b": 41
  },
  "hsl": {
    "h": 55.862,
    "s": 58.586,
    "l": 38.824
  },
  "oklch": {
    "l": 0.65725,
    "c": 0.12479,
    "h": 105
  },
  "luminance": 0.28823
}

Semantic roles & 50–950 ramp

primary
#9D9529
secondary
#646ABE
accent
#51E246
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #9D9529

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

Preview Lab → · Contrast checker → · Palette generator →

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