#9D9327#9D9327

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

Color values

HEX#9D9327
RGBrgb(157, 147, 39)
HSLhsl(55, 60%, 38%)
HSVhsv(55, 75%, 62%)
CMYKcmyk(0%, 6.4%, 75.2%, 38.4%)
CIE-LABlab(60.05, -8.72, 54.78)
CIE-LCHlch(60.05, 55.47, 99.05°)
OKLaboklab(65.27% -0.0298 0.1205)
OKLCHoklch(65.27% 0.124 103.9)
XYZxyz(24.7056, 28.1830, 6.0576)
Luminance0.2818 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9327 #27319D
analogous
#9D5827 #9D9327 #6C9D27
triadic
#9D9327 #279D93 #93279D
tetradic
#9D9327 #279D58 #27319D #9D276C
square
#9D9327 #279D58 #27319D #9D276C
split-complementary
#9D9327 #276C9D #58279D
monochromatic
#3B370F #6C651B #9D9327 #CDC035 #D9CF66

Accessibility & contrast

On white

3.16
#9D9327 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D9327#FFFFFF#000000##000000
##9D93271.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d9327;
/* rgb */ color: rgb(157, 147, 39);
/* oklch */ color: oklch(65.3% 0.124 103.9);
Tailwind
colors: {
  custom: {
    50: '#bdb26a',
    500: '#9d9327',
    950: '#000000',
  },
}
SCSS
$custom: #9d9327;
$custom-light: #bdb26a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9327",
  "rgb": {
    "r": 157,
    "g": 147,
    "b": 39
  },
  "hsl": {
    "h": 54.915,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.65265,
    "c": 0.12416,
    "h": 103.9
  },
  "luminance": 0.28182
}

Semantic roles & 50–950 ramp

primary
#9D9327
secondary
#6169BF
accent
#52E344
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #9D9327

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

Preview Lab → · Contrast checker → · Palette generator →

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