#9D9322#9D9322

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

Color values

HEX#9D9322
RGBrgb(157, 147, 34)
HSLhsl(55, 64%, 37%)
HSVhsv(55, 78%, 62%)
CMYKcmyk(0%, 6.4%, 78.3%, 38.4%)
CIE-LABlab(60.03, -8.93, 56.48)
CIE-LCHlch(60.03, 57.18, 98.99°)
OKLaboklab(65.23% -0.0309 0.1232)
OKLCHoklch(65.23% 0.127 104.1)
XYZxyz(24.6282, 28.1521, 5.6497)
Luminance0.2815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9322 #222C9D
analogous
#9D5622 #9D9322 #699D22
triadic
#9D9322 #229D93 #93229D
tetradic
#9D9322 #229D56 #222C9D #9D2269
square
#9D9322 #229D56 #222C9D #9D2269
split-complementary
#9D9322 #22699D #56229D
monochromatic
#38350C #6B6417 #9D9322 #CFC22D #DCD25D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D9322#FFFFFF#000000##000000
##9D93221.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)
#A18E05
Deuteranopia (green-blind)
#A4932B
Tritanopia (blue-blind)
#A9887E
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9d9322;
/* rgb */ color: rgb(157, 147, 34);
/* oklch */ color: oklch(65.2% 0.127 104.1);
Tailwind
colors: {
  custom: {
    50: '#beb267',
    500: '#9d9322',
    950: '#000000',
  },
}
SCSS
$custom: #9d9322;
$custom-light: #beb267;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9322",
  "rgb": {
    "r": 157,
    "g": 147,
    "b": 34
  },
  "hsl": {
    "h": 55.122,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.65234,
    "c": 0.12699,
    "h": 104.1
  },
  "luminance": 0.28151
}

Semantic roles & 50–950 ramp

primary
#9D9322
secondary
#5A63C1
accent
#4EE740
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9D9322

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

Preview Lab → · Contrast checker → · Palette generator →

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