#9C9530#9C9530

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

Color values

HEX#9C9530
RGBrgb(156, 149, 48)
HSLhsl(56, 53%, 40%)
HSVhsv(56, 69%, 61%)
CMYKcmyk(0%, 4.5%, 69.2%, 38.8%)
CIE-LABlab(60.58, -9.78, 51.79)
CIE-LCHlch(60.58, 52.71, 100.69°)
OKLaboklab(65.69% -0.0318 0.1159)
OKLCHoklch(65.69% 0.12 105.4)
XYZxyz(24.9922, 28.7771, 7.0338)
Luminance0.2878 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C9530 #30379C
analogous
#9C5F30 #9C9530 #6D9C30
triadic
#9C9530 #309C95 #95309C
tetradic
#9C9530 #309C5F #30379C #9C306D
square
#9C9530 #309C5F #30379C #9C306D
split-complementary
#9C9530 #306D9C #5F309C
monochromatic
#3E3C13 #6D6822 #9C9530 #C5BD44 #D4CD73

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C9530#FFFFFF#000000##000000
##9C95301.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)
#A29021
Deuteranopia (green-blind)
#A59437
Tritanopia (blue-blind)
#A88B81
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9c9530;
/* rgb */ color: rgb(156, 149, 48);
/* oklch */ color: oklch(65.7% 0.120 105.4);
Tailwind
colors: {
  custom: {
    50: '#bcb36f',
    500: '#9c9530',
    950: '#000000',
  },
}
SCSS
$custom: #9c9530;
$custom-light: #bcb36f;
$custom-dark: #000000;
JSON
{
  "hex": "#9c9530",
  "rgb": {
    "r": 156,
    "g": 149,
    "b": 48
  },
  "hsl": {
    "h": 56.111,
    "s": 52.941,
    "l": 40
  },
  "oklch": {
    "l": 0.65685,
    "c": 0.12021,
    "h": 105.4
  },
  "luminance": 0.28776
}

Semantic roles & 50–950 ramp

primary
#9C9530
secondary
#6C71BC
accent
#55DC4B
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #9C9530

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

Preview Lab → · Contrast checker → · Palette generator →

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