#9D9746#9D9746

#9D9746 is a light, moderate yellow. Relative luminance 0.297; OKLCH L 66.4% C 0.103 H 105.0°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#9D9746
RGBrgb(157, 151, 70)
HSLhsl(56, 38%, 45%)
HSVhsv(56, 55%, 62%)
CMYKcmyk(0%, 3.8%, 55.4%, 38.4%)
CIE-LABlab(61.43, -8.87, 42.79)
CIE-LCHlch(61.43, 43.70, 101.71°)
OKLaboklab(66.45% -0.0268 0.0999)
OKLCHoklch(66.45% 0.103 105)
XYZxyz(26.0775, 29.7443, 10.1607)
Luminance0.2974 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9746 #464C9D
analogous
#9D6C46 #9D9746 #789D46
triadic
#9D9746 #469D97 #97469D
tetradic
#9D9746 #469D6C #464C9D #9D4678
square
#9D9746 #469D6C #464C9D #9D4678
split-complementary
#9D9746 #46789D #6C469D
monochromatic
#484620 #736E33 #9D9746 #BBB566 #CDC990

Accessibility & contrast

On white

3.02
#9D9746 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#9D9746 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D9746
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9746#FFFFFF#000000##000000
##9D97461.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3923E
Deuteranopia (green-blind)
#A5964A
Tritanopia (blue-blind)
#A78E85
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9d9746;
/* rgb */ color: rgb(157, 151, 70);
/* oklch */ color: oklch(66.4% 0.103 105.0);
Tailwind
colors: {
  custom: {
    50: '#bcb57c',
    500: '#9d9746',
    950: '#000000',
  },
}
SCSS
$custom: #9d9746;
$custom-light: #bcb57c;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9746",
  "rgb": {
    "r": 157,
    "g": 151,
    "b": 70
  },
  "hsl": {
    "h": 55.862,
    "s": 38.326,
    "l": 44.51
  },
  "oklch": {
    "l": 0.66446,
    "c": 0.10345,
    "h": 105
  },
  "luminance": 0.29744
}

Semantic roles & 50–950 ramp

primary
#9D9746
secondary
#8689B9
accent
#62CE5A
background
#FBFBF7
surface
#F7F6EE
border
#D0D0C9
text
#12110A
muted
#81807C

Preview Lab

Preview with #9D9746

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

Preview Lab → · Contrast checker → · Palette generator →

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