#9C9527#9C9527

#9C9527 is a light, vivid yellow. Relative luminance 0.287; OKLCH L 65.6% C 0.126 H 105.7°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#9C9527
RGBrgb(156, 149, 39)
HSLhsl(56, 60%, 38%)
HSVhsv(56, 75%, 61%)
CMYKcmyk(0%, 4.5%, 75%, 38.8%)
CIE-LABlab(60.52, -10.24, 55.19)
CIE-LCHlch(60.52, 56.13, 100.51°)
OKLaboklab(65.62% -0.0341 0.1214)
OKLCHoklch(65.62% 0.126 105.7)
XYZxyz(24.8250, 28.7102, 6.1530)
Luminance0.2871 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C9527 #272E9C
analogous
#9C5A27 #9C9527 #689C27
triadic
#9C9527 #279C95 #95279C
tetradic
#9C9527 #279C5A #272E9C #9C2768
square
#9C9527 #279C5A #272E9C #9C2768
split-complementary
#9C9527 #27689C #5A279C
monochromatic
#3A370F #6B661B #9C9527 #CCC334 #D8D265

Accessibility & contrast

On white

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

On black

6.74
#9C9527 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C9527
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C9527#FFFFFF#000000##000000
##9C95271.003.116.746.74
#FFFFFF3.111.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F11
Deuteranopia (green-blind)
#A5942F
Tritanopia (blue-blind)
#A88B80
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9c9527;
/* rgb */ color: rgb(156, 149, 39);
/* oklch */ color: oklch(65.6% 0.126 105.7);
Tailwind
colors: {
  custom: {
    50: '#bdb36a',
    500: '#9c9527',
    950: '#000000',
  },
}
SCSS
$custom: #9c9527;
$custom-light: #bdb36a;
$custom-dark: #000000;
JSON
{
  "hex": "#9c9527",
  "rgb": {
    "r": 156,
    "g": 149,
    "b": 39
  },
  "hsl": {
    "h": 56.41,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.65619,
    "c": 0.12613,
    "h": 105.7
  },
  "luminance": 0.28709
}

Semantic roles & 50–950 ramp

primary
#9C9527
secondary
#6166BE
accent
#4EE345
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9C9527

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

Preview Lab → · Contrast checker → · Palette generator →

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