#9D9633#9D9633

#9D9633 is a light, moderate yellow. Relative luminance 0.292; OKLCH L 66.0% C 0.119 H 105.3°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#9D9633
RGBrgb(157, 150, 51)
HSLhsl(56, 51%, 41%)
HSVhsv(56, 68%, 62%)
CMYKcmyk(0%, 4.5%, 67.5%, 38.4%)
CIE-LABlab(60.98, -9.69, 50.98)
CIE-LCHlch(60.98, 51.89, 100.77°)
OKLaboklab(66.03% -0.0313 0.1147)
OKLCHoklch(66.03% 0.119 105.3)
XYZxyz(25.4095, 29.2207, 7.4330)
Luminance0.2922 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9633 #333A9D
analogous
#9D6133 #9D9633 #6F9D33
triadic
#9D9633 #339D96 #96339D
tetradic
#9D9633 #339D61 #333A9D #9D336F
square
#9D9633 #339D61 #333A9D #9D336F
split-complementary
#9D9633 #336F9D #61339D
monochromatic
#413E15 #6F6A24 #9D9633 #C4BC49 #D3CD77

Accessibility & contrast

On white

3.07
#9D9633 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#9D9633 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D9633
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9633#FFFFFF#000000##000000
##9D96331.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39125
Deuteranopia (green-blind)
#A59539
Tritanopia (blue-blind)
#A88C82
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9d9633;
/* rgb */ color: rgb(157, 150, 51);
/* oklch */ color: oklch(66.0% 0.119 105.3);
Tailwind
colors: {
  custom: {
    50: '#bdb470',
    500: '#9d9633',
    950: '#000000',
  },
}
SCSS
$custom: #9d9633;
$custom-light: #bdb470;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9633",
  "rgb": {
    "r": 157,
    "g": 150,
    "b": 51
  },
  "hsl": {
    "h": 56.038,
    "s": 50.962,
    "l": 40.784
  },
  "oklch": {
    "l": 0.66025,
    "c": 0.11888,
    "h": 105.3
  },
  "luminance": 0.2922
}

Semantic roles & 50–950 ramp

primary
#9D9633
secondary
#7075BB
accent
#57DA4D
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #9D9633

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

Preview Lab → · Contrast checker → · Palette generator →

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