#9D9320#9D9320

#9D9320 is a light, vivid yellow. Relative luminance 0.281; OKLCH L 65.2% C 0.128 H 104.2°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#9D9320
RGBrgb(157, 147, 32)
HSLhsl(55, 66%, 37%)
HSVhsv(55, 80%, 62%)
CMYKcmyk(0%, 6.4%, 79.6%, 38.4%)
CIE-LABlab(60.02, -9.01, 57.12)
CIE-LCHlch(60.02, 57.83, 98.97°)
OKLaboklab(65.22% -0.0313 0.1241)
OKLCHoklch(65.22% 0.128 104.2)
XYZxyz(24.6002, 28.1408, 5.5021)
Luminance0.2814 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9320 #202A9D
analogous
#9D5520 #9D9320 #699D20
triadic
#9D9320 #209D93 #93209D
tetradic
#9D9320 #209D55 #202A9D #9D2069
square
#9D9320 #209D55 #202A9D #9D2069
split-complementary
#9D9320 #20699D #55209D
monochromatic
#37340B #6A6316 #9D9320 #D0C32A #DDD35A

Accessibility & contrast

On white

3.17
#9D9320 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#9D9320 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D9320
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9320#FFFFFF#000000##000000
##9D93201.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#A49329
Tritanopia (blue-blind)
#A9887E
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9d9320;
/* rgb */ color: rgb(157, 147, 32);
/* oklch */ color: oklch(65.2% 0.128 104.2);
Tailwind
colors: {
  custom: {
    50: '#beb266',
    500: '#9d9320',
    950: '#000000',
  },
}
SCSS
$custom: #9d9320;
$custom-light: #beb266;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9320",
  "rgb": {
    "r": 157,
    "g": 147,
    "b": 32
  },
  "hsl": {
    "h": 55.2,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.65223,
    "c": 0.12803,
    "h": 104.2
  },
  "luminance": 0.2814
}

Semantic roles & 50–950 ramp

primary
#9D9320
secondary
#5760C1
accent
#4CE93F
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9D9320

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

Preview Lab → · Contrast checker → · Palette generator →

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