#9D9527#9D9527

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

Color values

HEX#9D9527
RGBrgb(157, 149, 39)
HSLhsl(56, 60%, 38%)
HSVhsv(56, 75%, 62%)
CMYKcmyk(0%, 5.1%, 75.2%, 38.4%)
CIE-LABlab(60.61, -9.79, 55.31)
CIE-LCHlch(60.61, 56.17, 100.04°)
OKLaboklab(65.71% -0.0329 0.1217)
OKLCHoklch(65.71% 0.126 105.1)
XYZxyz(25.0193, 28.8104, 6.1621)
Luminance0.2881 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9527 #272F9D
analogous
#9D5A27 #9D9527 #6A9D27
triadic
#9D9527 #279D95 #95279D
tetradic
#9D9527 #279D5A #272F9D #9D276A
square
#9D9527 #279D5A #272F9D #9D276A
split-complementary
#9D9527 #276A9D #5A279D
monochromatic
#3B380F #6C661B #9D9527 #CDC235 #D9D166

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D9527#FFFFFF#000000##000000
##9D95271.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)
#A29011
Deuteranopia (green-blind)
#A5942F
Tritanopia (blue-blind)
#A98B80
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9d9527;
/* rgb */ color: rgb(157, 149, 39);
/* oklch */ color: oklch(65.7% 0.126 105.1);
Tailwind
colors: {
  custom: {
    50: '#bdb36a',
    500: '#9d9527',
    950: '#000000',
  },
}
SCSS
$custom: #9d9527;
$custom-light: #bdb36a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9527",
  "rgb": {
    "r": 157,
    "g": 149,
    "b": 39
  },
  "hsl": {
    "h": 55.932,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.65711,
    "c": 0.12601,
    "h": 105.1
  },
  "luminance": 0.28809
}

Semantic roles & 50–950 ramp

primary
#9D9527
secondary
#6167BF
accent
#4FE344
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9D9527

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

Preview Lab → · Contrast checker → · Palette generator →

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