#9C962A#9C962A

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

Color values

HEX#9C962A
RGBrgb(156, 150, 42)
HSLhsl(57, 58%, 39%)
HSVhsv(57, 73%, 61%)
CMYKcmyk(0%, 3.8%, 73.1%, 38.8%)
CIE-LABlab(60.82, -10.63, 54.38)
CIE-LCHlch(60.82, 55.41, 101.06°)
OKLaboklab(65.86% -0.0349 0.1203)
OKLCHoklch(65.86% 0.125 106.2)
XYZxyz(25.0356, 29.0487, 6.4782)
Luminance0.2905 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C962A #2A309C
analogous
#9C5D2A #9C962A #699C2A
triadic
#9C962A #2A9C96 #962A9C
tetradic
#9C962A #2A9C5D #2A309C #9C2A69
square
#9C962A #2A9C5D #2A309C #9C2A69
split-complementary
#9C962A #2A699C #5D2A9C
monochromatic
#3C3910 #6C681D #9C962A #CAC239 #D7D16A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C962A#FFFFFF#000000##000000
##9C962A1.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)
#A39017
Deuteranopia (green-blind)
#A69532
Tritanopia (blue-blind)
#A88C81
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9c962a;
/* rgb */ color: rgb(156, 150, 42);
/* oklch */ color: oklch(65.9% 0.125 106.2);
Tailwind
colors: {
  custom: {
    50: '#bdb46b',
    500: '#9c962a',
    950: '#000000',
  },
}
SCSS
$custom: #9c962a;
$custom-light: #bdb46b;
$custom-dark: #000000;
JSON
{
  "hex": "#9c962a",
  "rgb": {
    "r": 156,
    "g": 150,
    "b": 42
  },
  "hsl": {
    "h": 56.842,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.65863,
    "c": 0.12524,
    "h": 106.2
  },
  "luminance": 0.29048
}

Semantic roles & 50–950 ramp

primary
#9C962A
secondary
#6569BD
accent
#4FE147
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #9C962A

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

Preview Lab → · Contrast checker → · Palette generator →

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