#9D9638#9D9638

#9D9638 is a light, moderate yellow. Relative luminance 0.293; OKLCH L 66.1% C 0.115 H 105.1°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#9D9638
RGBrgb(157, 150, 56)
HSLhsl(56, 47%, 42%)
HSVhsv(56, 64%, 62%)
CMYKcmyk(0%, 4.5%, 64.3%, 38.4%)
CIE-LABlab(61.02, -9.38, 48.86)
CIE-LCHlch(61.02, 49.76, 100.87°)
OKLaboklab(66.07% -0.0299 0.111)
OKLCHoklch(66.07% 0.115 105.1)
XYZxyz(25.5257, 29.2672, 8.0452)
Luminance0.2927 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9638 #383F9D
analogous
#9D6438 #9D9638 #729D38
triadic
#9D9638 #389D96 #96389D
tetradic
#9D9638 #389D64 #383F9D #9D3872
square
#9D9638 #389D64 #383F9D #9D3872
split-complementary
#9D9638 #38729D #64389D
monochromatic
#434018 #706B28 #9D9638 #C1B951 #D1CB7E

Accessibility & contrast

On white

3.06
#9D9638 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#9D9638 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D9638
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9638#FFFFFF#000000##000000
##9D96381.003.066.856.85
#FFFFFF3.061.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d9638;
/* rgb */ color: rgb(157, 150, 56);
/* oklch */ color: oklch(66.1% 0.115 105.1);
Tailwind
colors: {
  custom: {
    50: '#bdb473',
    500: '#9d9638',
    950: '#000000',
  },
}
SCSS
$custom: #9d9638;
$custom-light: #bdb473;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9638",
  "rgb": {
    "r": 157,
    "g": 150,
    "b": 56
  },
  "hsl": {
    "h": 55.842,
    "s": 47.418,
    "l": 41.765
  },
  "oklch": {
    "l": 0.66071,
    "c": 0.11497,
    "h": 105.1
  },
  "luminance": 0.29266
}

Semantic roles & 50–950 ramp

primary
#9D9638
secondary
#767BBA
accent
#5AD751
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #9D9638

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

Preview Lab → · Contrast checker → · Palette generator →

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