#9D962C#9D962C

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

Color values

HEX#9D962C
RGBrgb(157, 150, 44)
HSLhsl(56, 56%, 39%)
HSVhsv(56, 72%, 62%)
CMYKcmyk(0%, 4.5%, 72%, 38.4%)
CIE-LABlab(60.93, -10.08, 53.75)
CIE-LCHlch(60.93, 54.69, 100.62°)
OKLaboklab(65.97% -0.0332 0.1193)
OKLCHoklch(65.97% 0.124 105.5)
XYZxyz(25.2666, 29.1636, 6.6806)
Luminance0.2916 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D962C #2C339D
analogous
#9D5E2C #9D962C #6C9D2C
triadic
#9D962C #2C9D96 #962C9D
tetradic
#9D962C #2C9D5E #2C339D #9D2C6C
square
#9D962C #2C9D5E #2C339D #9D2C6C
split-complementary
#9D962C #2C6C9D #5E2C9D
monochromatic
#3D3B11 #6D681F #9D962C #C9C03D #D6D06D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D962C#FFFFFF#000000##000000
##9D962C1.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)
#A3901A
Deuteranopia (green-blind)
#A69533
Tritanopia (blue-blind)
#A98C81
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9d962c;
/* rgb */ color: rgb(157, 150, 44);
/* oklch */ color: oklch(66.0% 0.124 105.5);
Tailwind
colors: {
  custom: {
    50: '#bdb46c',
    500: '#9d962c',
    950: '#000000',
  },
}
SCSS
$custom: #9d962c;
$custom-light: #bdb46c;
$custom-dark: #000000;
JSON
{
  "hex": "#9d962c",
  "rgb": {
    "r": 157,
    "g": 150,
    "b": 44
  },
  "hsl": {
    "h": 56.283,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.65969,
    "c": 0.12382,
    "h": 105.5
  },
  "luminance": 0.29163
}

Semantic roles & 50–950 ramp

primary
#9D962C
secondary
#686DBD
accent
#52E048
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #9D962C

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

Preview Lab → · Contrast checker → · Palette generator →

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