#9D8329#9D8329

#9D8329 is a mid, moderate yellow. Relative luminance 0.236; OKLCH L 61.8% C 0.110 H 92.4°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#9D8329
RGBrgb(157, 131, 41)
HSLhsl(47, 59%, 39%)
HSVhsv(47, 74%, 62%)
CMYKcmyk(0%, 16.6%, 73.9%, 38.4%)
CIE-LABlab(55.65, 0.13, 49.76)
CIE-LCHlch(55.65, 49.76, 89.86°)
OKLaboklab(61.78% -0.0045 0.1103)
OKLCHoklch(61.78% 0.11 92.4)
XYZxyz(22.4224, 23.5621, 5.4643)
Luminance0.2356 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D8329 #29439D
analogous
#9D4929 #9D8329 #7D9D29
triadic
#9D8329 #299D83 #83299D
tetradic
#9D8329 #299D49 #29439D #9D297D
square
#9D8329 #299D49 #29439D #9D297D
split-complementary
#9D8329 #297D9D #49299D
monochromatic
#3C3210 #6C5B1C #9D8329 #CBAA38 #D8BF69

Accessibility & contrast

On white

3.68
#9D8329 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#9D8329 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D8329
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D8329#FFFFFF#000000##000000
##9D83291.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#92811B
Deuteranopia (green-blind)
#98882E
Tritanopia (blue-blind)
#AA7871
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9d8329;
/* rgb */ color: rgb(157, 131, 41);
/* oklch */ color: oklch(61.8% 0.110 92.4);
Tailwind
colors: {
  custom: {
    50: '#bea669',
    500: '#9d8329',
    950: '#000000',
  },
}
SCSS
$custom: #9d8329;
$custom-light: #bea669;
$custom-dark: #000000;
JSON
{
  "hex": "#9d8329",
  "rgb": {
    "r": 157,
    "g": 131,
    "b": 41
  },
  "hsl": {
    "h": 46.552,
    "s": 58.586,
    "l": 38.824
  },
  "oklch": {
    "l": 0.61776,
    "c": 0.11036,
    "h": 92.4
  },
  "luminance": 0.23561
}

Semantic roles & 50–950 ramp

primary
#9D8329
secondary
#6478BE
accent
#69E246
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F07
muted
#827F7A

Preview Lab

Preview with #9D8329

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

Preview Lab → · Contrast checker → · Palette generator →

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