#9C962D#9C962D

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

Color values

HEX#9C962D
RGBrgb(156, 150, 45)
HSLhsl(57, 55%, 39%)
HSVhsv(57, 71%, 61%)
CMYKcmyk(0%, 3.8%, 71.2%, 38.8%)
CIE-LABlab(60.84, -10.48, 53.25)
CIE-LCHlch(60.84, 54.27, 101.13°)
OKLaboklab(65.89% -0.0341 0.1185)
OKLCHoklch(65.89% 0.123 106.1)
XYZxyz(25.0913, 29.0710, 6.7717)
Luminance0.2907 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C962D #2D339C
analogous
#9C5F2D #9C962D #6B9C2D
triadic
#9C962D #2D9C96 #962D9C
tetradic
#9C962D #2D9C5F #2D339C #9C2D6B
square
#9C962D #2D9C5F #2D339C #9C2D6B
split-complementary
#9C962D #2D6B9C #5F2D9C
monochromatic
#3D3B12 #6D681F #9C962D #C8C03F #D5D06E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C962D#FFFFFF#000000##000000
##9C962D1.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)
#A3901C
Deuteranopia (green-blind)
#A59534
Tritanopia (blue-blind)
#A88C81
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9c962d;
/* rgb */ color: rgb(156, 150, 45);
/* oklch */ color: oklch(65.9% 0.123 106.1);
Tailwind
colors: {
  custom: {
    50: '#bcb46d',
    500: '#9c962d',
    950: '#000000',
  },
}
SCSS
$custom: #9c962d;
$custom-light: #bcb46d;
$custom-dark: #000000;
JSON
{
  "hex": "#9c962d",
  "rgb": {
    "r": 156,
    "g": 150,
    "b": 45
  },
  "hsl": {
    "h": 56.757,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.65885,
    "c": 0.12328,
    "h": 106.1
  },
  "luminance": 0.2907
}

Semantic roles & 50–950 ramp

primary
#9C962D
secondary
#686DBC
accent
#51DF49
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #9C962D

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

Preview Lab → · Contrast checker → · Palette generator →

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