#9D9629#9D9629

#9D9629 is a light, vivid yellow. Relative luminance 0.291; OKLCH L 65.9% C 0.126 H 105.6°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#9D9629
RGBrgb(157, 150, 41)
HSLhsl(56, 59%, 39%)
HSVhsv(56, 74%, 62%)
CMYKcmyk(0%, 4.5%, 73.9%, 38.4%)
CIE-LABlab(60.91, -10.23, 54.86)
CIE-LCHlch(60.91, 55.80, 100.56°)
OKLaboklab(65.95% -0.0339 0.1211)
OKLCHoklch(65.95% 0.126 105.6)
XYZxyz(25.2122, 29.1418, 6.3943)
Luminance0.2914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9629 #29309D
analogous
#9D5C29 #9D9629 #6A9D29
triadic
#9D9629 #299D96 #96299D
tetradic
#9D9629 #299D5C #29309D #9D296A
square
#9D9629 #299D5C #29309D #9D296A
split-complementary
#9D9629 #296A9D #5C299D
monochromatic
#3C3910 #6C681C #9D9629 #CBC238 #D8D169

Accessibility & contrast

On white

3.08
#9D9629 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#9D9629 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D9629
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9629#FFFFFF#000000##000000
##9D96291.003.086.836.83
#FFFFFF3.081.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39015
Deuteranopia (green-blind)
#A69531
Tritanopia (blue-blind)
#A98C81
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9d9629;
/* rgb */ color: rgb(157, 150, 41);
/* oklch */ color: oklch(65.9% 0.126 105.6);
Tailwind
colors: {
  custom: {
    50: '#bdb46b',
    500: '#9d9629',
    950: '#000000',
  },
}
SCSS
$custom: #9d9629;
$custom-light: #bdb46b;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9629",
  "rgb": {
    "r": 157,
    "g": 150,
    "b": 41
  },
  "hsl": {
    "h": 56.379,
    "s": 58.586,
    "l": 38.824
  },
  "oklch": {
    "l": 0.65948,
    "c": 0.12574,
    "h": 105.6
  },
  "luminance": 0.29141
}

Semantic roles & 50–950 ramp

primary
#9D9629
secondary
#6469BE
accent
#4FE246
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #9D9629

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

Preview Lab → · Contrast checker → · Palette generator →

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