#9C962B#9C962B

#9C962B is a light, vivid yellow. Relative luminance 0.291; OKLCH L 65.9% C 0.125 H 106.1°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#9C962B
RGBrgb(156, 150, 43)
HSLhsl(57, 57%, 39%)
HSVhsv(57, 72%, 61%)
CMYKcmyk(0%, 3.8%, 72.4%, 38.8%)
CIE-LABlab(60.83, -10.58, 54.01)
CIE-LCHlch(60.83, 55.03, 101.08°)
OKLaboklab(65.87% -0.0346 0.1197)
OKLCHoklch(65.87% 0.125 106.1)
XYZxyz(25.0537, 29.0559, 6.5737)
Luminance0.2905 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C962B #2B319C
analogous
#9C5E2B #9C962B #6A9C2B
triadic
#9C962B #2B9C96 #962B9C
tetradic
#9C962B #2B9C5E #2B319C #9C2B6A
square
#9C962B #2B9C5E #2B319C #9C2B6A
split-complementary
#9C962B #2B6A9C #5E2B9C
monochromatic
#3C3A11 #6C681E #9C962B #C9C13B #D6D16B

Accessibility & contrast

On white

3.08
#9C962B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#9C962B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C962B
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C962B#FFFFFF#000000##000000
##9C962B1.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39019
Deuteranopia (green-blind)
#A69533
Tritanopia (blue-blind)
#A88C81
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9c962b;
/* rgb */ color: rgb(156, 150, 43);
/* oklch */ color: oklch(65.9% 0.125 106.1);
Tailwind
colors: {
  custom: {
    50: '#bcb46c',
    500: '#9c962b',
    950: '#000000',
  },
}
SCSS
$custom: #9c962b;
$custom-light: #bcb46c;
$custom-dark: #000000;
JSON
{
  "hex": "#9c962b",
  "rgb": {
    "r": 156,
    "g": 150,
    "b": 43
  },
  "hsl": {
    "h": 56.814,
    "s": 56.784,
    "l": 39.02
  },
  "oklch": {
    "l": 0.65871,
    "c": 0.1246,
    "h": 106.1
  },
  "luminance": 0.29055
}

Semantic roles & 50–950 ramp

primary
#9C962B
secondary
#666ABD
accent
#50E048
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #9C962B

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

Preview Lab → · Contrast checker → · Palette generator →

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