#9D9627#9D9627

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

Color values

HEX#9D9627
RGBrgb(157, 150, 39)
HSLhsl(56, 60%, 38%)
HSVhsv(56, 75%, 62%)
CMYKcmyk(0%, 4.5%, 75.2%, 38.4%)
CIE-LABlab(60.89, -10.32, 55.57)
CIE-LCHlch(60.89, 56.52, 100.52°)
OKLaboklab(65.94% -0.0344 0.1222)
OKLCHoklch(65.94% 0.127 105.7)
XYZxyz(25.1782, 29.1282, 6.2151)
Luminance0.2913 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9627 #272E9D
analogous
#9D5B27 #9D9627 #699D27
triadic
#9D9627 #279D96 #96279D
tetradic
#9D9627 #279D5B #272E9D #9D2769
square
#9D9627 #279D5B #272E9D #9D2769
split-complementary
#9D9627 #27699D #5B279D
monochromatic
#3B380F #6C671B #9D9627 #CDC435 #D9D266

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D9627#FFFFFF#000000##000000
##9D96271.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)
#A39010
Deuteranopia (green-blind)
#A6952F
Tritanopia (blue-blind)
#A98C81
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9d9627;
/* rgb */ color: rgb(157, 150, 39);
/* oklch */ color: oklch(65.9% 0.127 105.7);
Tailwind
colors: {
  custom: {
    50: '#bdb46a',
    500: '#9d9627',
    950: '#000000',
  },
}
SCSS
$custom: #9d9627;
$custom-light: #bdb46a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9627",
  "rgb": {
    "r": 157,
    "g": 150,
    "b": 39
  },
  "hsl": {
    "h": 56.441,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.65935,
    "c": 0.12695,
    "h": 105.7
  },
  "luminance": 0.29127
}

Semantic roles & 50–950 ramp

primary
#9D9627
secondary
#6167BF
accent
#4EE344
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9D9627

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

Preview Lab → · Contrast checker → · Palette generator →

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