#9D9530#9D9530

#9D9530 is a light, vivid yellow. Relative luminance 0.289; OKLCH L 65.8% C 0.120 H 104.8°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#9D9530
RGBrgb(157, 149, 48)
HSLhsl(56, 53%, 40%)
HSVhsv(56, 69%, 62%)
CMYKcmyk(0%, 5.1%, 69.4%, 38.4%)
CIE-LABlab(60.67, -9.33, 51.91)
CIE-LCHlch(60.67, 52.74, 100.19°)
OKLaboklab(65.78% -0.0306 0.1161)
OKLCHoklch(65.78% 0.12 104.8)
XYZxyz(25.1866, 28.8773, 7.0429)
Luminance0.2888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9530 #30389D
analogous
#9D5E30 #9D9530 #6F9D30
triadic
#9D9530 #309D95 #95309D
tetradic
#9D9530 #309D5E #30389D #9D306F
square
#9D9530 #309D5E #30389D #9D306F
split-complementary
#9D9530 #306F9D #5E309D
monochromatic
#3F3C13 #6E6922 #9D9530 #C6BC44 #D4CD73

Accessibility & contrast

On white

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

On black

6.78
#9D9530 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D9530
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9530#FFFFFF#000000##000000
##9D95301.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29021
Deuteranopia (green-blind)
#A59437
Tritanopia (blue-blind)
#A98B81
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9d9530;
/* rgb */ color: rgb(157, 149, 48);
/* oklch */ color: oklch(65.8% 0.120 104.8);
Tailwind
colors: {
  custom: {
    50: '#bdb36f',
    500: '#9d9530',
    950: '#000000',
  },
}
SCSS
$custom: #9d9530;
$custom-light: #bdb36f;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9530",
  "rgb": {
    "r": 157,
    "g": 149,
    "b": 48
  },
  "hsl": {
    "h": 55.596,
    "s": 53.171,
    "l": 40.196
  },
  "oklch": {
    "l": 0.65777,
    "c": 0.12011,
    "h": 104.8
  },
  "luminance": 0.28876
}

Semantic roles & 50–950 ramp

primary
#9D9530
secondary
#6D73BC
accent
#56DD4B
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #9D9530

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

Preview Lab → · Contrast checker → · Palette generator →

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