#9D962A#9D962A

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

Color values

HEX#9D962A
RGBrgb(157, 150, 42)
HSLhsl(56, 58%, 39%)
HSVhsv(56, 73%, 62%)
CMYKcmyk(0%, 4.5%, 73.2%, 38.4%)
CIE-LABlab(60.91, -10.18, 54.49)
CIE-LCHlch(60.91, 55.44, 100.58°)
OKLaboklab(65.96% -0.0337 0.1205)
OKLCHoklch(65.96% 0.125 105.6)
XYZxyz(25.2299, 29.1489, 6.4873)
Luminance0.2915 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D962A #2A319D
analogous
#9D5D2A #9D962A #6B9D2A
triadic
#9D962A #2A9D96 #962A9D
tetradic
#9D962A #2A9D5D #2A319D #9D2A6B
square
#9D962A #2A9D5D #2A319D #9D2A6B
split-complementary
#9D962A #2A6B9D #5D2A9D
monochromatic
#3C3A10 #6D681D #9D962A #CAC13A #D7D16A

Accessibility & contrast

On white

3.07
#9D962A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#9D962A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D962A
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D962A#FFFFFF#000000##000000
##9D962A1.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39017
Deuteranopia (green-blind)
#A69532
Tritanopia (blue-blind)
#A98C81
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9d962a;
/* rgb */ color: rgb(157, 150, 42);
/* oklch */ color: oklch(66.0% 0.125 105.6);
Tailwind
colors: {
  custom: {
    50: '#bdb46b',
    500: '#9d962a',
    950: '#000000',
  },
}
SCSS
$custom: #9d962a;
$custom-light: #bdb46b;
$custom-dark: #000000;
JSON
{
  "hex": "#9d962a",
  "rgb": {
    "r": 157,
    "g": 150,
    "b": 42
  },
  "hsl": {
    "h": 56.348,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.65955,
    "c": 0.12511,
    "h": 105.6
  },
  "luminance": 0.29148
}

Semantic roles & 50–950 ramp

primary
#9D962A
secondary
#656ABE
accent
#50E147
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #9D962A

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

Preview Lab → · Contrast checker → · Palette generator →

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