#9D9628#9D9628

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

Color values

HEX#9D9628
RGBrgb(157, 150, 40)
HSLhsl(56, 59%, 39%)
HSVhsv(56, 75%, 62%)
CMYKcmyk(0%, 4.5%, 74.5%, 38.4%)
CIE-LABlab(60.90, -10.28, 55.22)
CIE-LCHlch(60.90, 56.17, 100.54°)
OKLaboklab(65.94% -0.0341 0.1217)
OKLCHoklch(65.94% 0.126 105.7)
XYZxyz(25.1950, 29.1349, 6.3035)
Luminance0.2913 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9628 #282F9D
analogous
#9D5B28 #9D9628 #699D28
triadic
#9D9628 #289D96 #96289D
tetradic
#9D9628 #289D5B #282F9D #9D2869
square
#9D9628 #289D5B #282F9D #9D2869
split-complementary
#9D9628 #28699D #5B289D
monochromatic
#3B390F #6C671C #9D9628 #CCC336 #D8D267

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D9628#FFFFFF#000000##000000
##9D96281.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)
#A39013
Deuteranopia (green-blind)
#A69530
Tritanopia (blue-blind)
#A98C81
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9d9628;
/* rgb */ color: rgb(157, 150, 40);
/* oklch */ color: oklch(65.9% 0.126 105.7);
Tailwind
colors: {
  custom: {
    50: '#bdb46a',
    500: '#9d9628',
    950: '#000000',
  },
}
SCSS
$custom: #9d9628;
$custom-light: #bdb46a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9628",
  "rgb": {
    "r": 157,
    "g": 150,
    "b": 40
  },
  "hsl": {
    "h": 56.41,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.65941,
    "c": 0.12635,
    "h": 105.7
  },
  "luminance": 0.29134
}

Semantic roles & 50–950 ramp

primary
#9D9628
secondary
#6268BE
accent
#4FE345
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #9D9628

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

Preview Lab → · Contrast checker → · Palette generator →

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