#9D9526#9D9526

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

Color values

HEX#9D9526
RGBrgb(157, 149, 38)
HSLhsl(56, 61%, 38%)
HSVhsv(56, 76%, 62%)
CMYKcmyk(0%, 5.1%, 75.8%, 38.4%)
CIE-LABlab(60.61, -9.84, 55.66)
CIE-LCHlch(60.61, 56.52, 100.02°)
OKLaboklab(65.71% -0.0331 0.1222)
OKLCHoklch(65.71% 0.127 105.1)
XYZxyz(25.0030, 28.8039, 6.0760)
Luminance0.2880 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9526 #262E9D
analogous
#9D5926 #9D9526 #6A9D26
triadic
#9D9526 #269D95 #95269D
tetradic
#9D9526 #269D59 #262E9D #9D266A
square
#9D9526 #269D59 #262E9D #9D266A
split-complementary
#9D9526 #266A9D #59269D
monochromatic
#3A370E #6C661A #9D9526 #CEC333 #D9D264

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D9526#FFFFFF#000000##000000
##9D95261.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)
#A2900F
Deuteranopia (green-blind)
#A5942E
Tritanopia (blue-blind)
#A98B80
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9d9526;
/* rgb */ color: rgb(157, 149, 38);
/* oklch */ color: oklch(65.7% 0.127 105.1);
Tailwind
colors: {
  custom: {
    50: '#bdb369',
    500: '#9d9526',
    950: '#000000',
  },
}
SCSS
$custom: #9d9526;
$custom-light: #bdb369;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9526",
  "rgb": {
    "r": 157,
    "g": 149,
    "b": 38
  },
  "hsl": {
    "h": 55.966,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.65705,
    "c": 0.1266,
    "h": 105.1
  },
  "luminance": 0.28803
}

Semantic roles & 50–950 ramp

primary
#9D9526
secondary
#6066BF
accent
#4EE444
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9D9526

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

Preview Lab → · Contrast checker → · Palette generator →

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