#9D9326#9D9326

#9D9326 is a light, vivid yellow. Relative luminance 0.282; OKLCH L 65.3% C 0.125 H 104.0°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#9D9326
RGBrgb(157, 147, 38)
HSLhsl(55, 61%, 38%)
HSVhsv(55, 76%, 62%)
CMYKcmyk(0%, 6.4%, 75.8%, 38.4%)
CIE-LABlab(60.05, -8.77, 55.13)
CIE-LCHlch(60.05, 55.82, 99.03°)
OKLaboklab(65.26% -0.0301 0.1211)
OKLCHoklch(65.26% 0.125 104)
XYZxyz(24.6893, 28.1765, 5.9715)
Luminance0.2818 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9326 #26309D
analogous
#9D5726 #9D9326 #6B9D26
triadic
#9D9326 #269D93 #93269D
tetradic
#9D9326 #269D57 #26309D #9D266B
square
#9D9326 #269D57 #26309D #9D266B
split-complementary
#9D9326 #266B9D #57269D
monochromatic
#3A370E #6C651A #9D9326 #CEC133 #D9D064

Accessibility & contrast

On white

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

On black

6.64
#9D9326 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D9326
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9326#FFFFFF#000000##000000
##9D93261.003.176.646.64
#FFFFFF3.171.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d9326;
/* rgb */ color: rgb(157, 147, 38);
/* oklch */ color: oklch(65.3% 0.125 104.0);
Tailwind
colors: {
  custom: {
    50: '#bdb269',
    500: '#9d9326',
    950: '#000000',
  },
}
SCSS
$custom: #9d9326;
$custom-light: #bdb269;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9326",
  "rgb": {
    "r": 157,
    "g": 147,
    "b": 38
  },
  "hsl": {
    "h": 54.958,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.65259,
    "c": 0.12476,
    "h": 104
  },
  "luminance": 0.28175
}

Semantic roles & 50–950 ramp

primary
#9D9326
secondary
#6068BF
accent
#51E444
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #9D9326

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

Preview Lab → · Contrast checker → · Palette generator →

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