#9C9526#9C9526

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

Color values

HEX#9C9526
RGBrgb(156, 149, 38)
HSLhsl(56, 61%, 38%)
HSVhsv(56, 76%, 61%)
CMYKcmyk(0%, 4.5%, 75.6%, 38.8%)
CIE-LABlab(60.52, -10.28, 55.54)
CIE-LCHlch(60.52, 56.48, 100.49°)
OKLaboklab(65.61% -0.0343 0.122)
OKLCHoklch(65.61% 0.127 105.7)
XYZxyz(24.8086, 28.7037, 6.0669)
Luminance0.2870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C9526 #262D9C
analogous
#9C5A26 #9C9526 #689C26
triadic
#9C9526 #269C95 #95269C
tetradic
#9C9526 #269C5A #262D9C #9C2668
square
#9C9526 #269C5A #262D9C #9C2668
split-complementary
#9C9526 #26689C #5A269C
monochromatic
#3A370E #6B661A #9C9526 #CDC432 #D9D263

Accessibility & contrast

On white

3.12
#9C9526 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C9526#FFFFFF#000000##000000
##9C95261.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9c9526;
/* rgb */ color: rgb(156, 149, 38);
/* oklch */ color: oklch(65.6% 0.127 105.7);
Tailwind
colors: {
  custom: {
    50: '#bdb369',
    500: '#9c9526',
    950: '#000000',
  },
}
SCSS
$custom: #9c9526;
$custom-light: #bdb369;
$custom-dark: #000000;
JSON
{
  "hex": "#9c9526",
  "rgb": {
    "r": 156,
    "g": 149,
    "b": 38
  },
  "hsl": {
    "h": 56.441,
    "s": 60.825,
    "l": 38.039
  },
  "oklch": {
    "l": 0.65612,
    "c": 0.12672,
    "h": 105.7
  },
  "luminance": 0.28703
}

Semantic roles & 50–950 ramp

primary
#9C9526
secondary
#5F65BF
accent
#4DE444
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9C9526

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

Preview Lab → · Contrast checker → · Palette generator →

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