#9D8429#9D8429

#9D8429 is a mid, moderate yellow. Relative luminance 0.238; OKLCH L 62.0% C 0.111 H 93.2°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#9D8429
RGBrgb(157, 132, 41)
HSLhsl(47, 59%, 39%)
HSVhsv(47, 74%, 62%)
CMYKcmyk(0%, 15.9%, 73.9%, 38.4%)
CIE-LABlab(55.92, -0.43, 50.03)
CIE-LCHlch(55.92, 50.03, 90.49°)
OKLaboklab(61.99% -0.0061 0.1108)
OKLCHoklch(61.99% 0.111 93.2)
XYZxyz(22.5573, 23.8320, 5.5093)
Luminance0.2383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D8429 #29429D
analogous
#9D4A29 #9D8429 #7C9D29
triadic
#9D8429 #299D84 #84299D
tetradic
#9D8429 #299D4A #29429D #9D297C
square
#9D8429 #299D4A #29429D #9D297C
split-complementary
#9D8429 #297C9D #4A299D
monochromatic
#3C3210 #6C5B1C #9D8429 #CBAB38 #D8C069

Accessibility & contrast

On white

3.64
#9D8429 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#9D8429 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D8429
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D8429#FFFFFF#000000##000000
##9D84291.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#93821B
Deuteranopia (green-blind)
#99892E
Tritanopia (blue-blind)
#AA7972
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9d8429;
/* rgb */ color: rgb(157, 132, 41);
/* oklch */ color: oklch(62.0% 0.111 93.2);
Tailwind
colors: {
  custom: {
    50: '#bea769',
    500: '#9d8429',
    950: '#000000',
  },
}
SCSS
$custom: #9d8429;
$custom-light: #bea769;
$custom-dark: #000000;
JSON
{
  "hex": "#9d8429",
  "rgb": {
    "r": 157,
    "g": 132,
    "b": 41
  },
  "hsl": {
    "h": 47.069,
    "s": 58.586,
    "l": 38.824
  },
  "oklch": {
    "l": 0.61992,
    "c": 0.11101,
    "h": 93.2
  },
  "luminance": 0.23831
}

Semantic roles & 50–950 ramp

primary
#9D8429
secondary
#6477BE
accent
#68E246
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F07
muted
#827F7A

Preview Lab

Preview with #9D8429

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

Preview Lab → · Contrast checker → · Palette generator →

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