#9D9626#9D9626

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

Color values

HEX#9D9626
RGBrgb(157, 150, 38)
HSLhsl(56, 61%, 38%)
HSVhsv(56, 76%, 62%)
CMYKcmyk(0%, 4.5%, 75.8%, 38.4%)
CIE-LABlab(60.89, -10.37, 55.92)
CIE-LCHlch(60.89, 56.87, 100.50°)
OKLaboklab(65.93% -0.0346 0.1228)
OKLCHoklch(65.93% 0.128 105.7)
XYZxyz(25.1619, 29.1217, 6.1290)
Luminance0.2912 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9626 #262D9D
analogous
#9D5B26 #9D9626 #689D26
triadic
#9D9626 #269D96 #96269D
tetradic
#9D9626 #269D5B #262D9D #9D2668
square
#9D9626 #269D5B #262D9D #9D2668
split-complementary
#9D9626 #26689D #5B269D
monochromatic
#3A380E #6C671A #9D9626 #CEC433 #D9D364

Accessibility & contrast

On white

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

On black

6.82
#9D9626 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D9626
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9626#FFFFFF#000000##000000
##9D96261.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d9626;
/* rgb */ color: rgb(157, 150, 38);
/* oklch */ color: oklch(65.9% 0.128 105.7);
Tailwind
colors: {
  custom: {
    50: '#bdb469',
    500: '#9d9626',
    950: '#000000',
  },
}
SCSS
$custom: #9d9626;
$custom-light: #bdb469;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9626",
  "rgb": {
    "r": 157,
    "g": 150,
    "b": 38
  },
  "hsl": {
    "h": 56.471,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.65928,
    "c": 0.12753,
    "h": 105.7
  },
  "luminance": 0.29121
}

Semantic roles & 50–950 ramp

primary
#9D9626
secondary
#6065BF
accent
#4DE444
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9D9626

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

Preview Lab → · Contrast checker → · Palette generator →

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