#9D9745#9D9745

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

Color values

HEX#9D9745
RGBrgb(157, 151, 69)
HSLhsl(56, 39%, 44%)
HSVhsv(56, 56%, 62%)
CMYKcmyk(0%, 3.8%, 56.1%, 38.4%)
CIE-LABlab(61.42, -8.95, 43.26)
CIE-LCHlch(61.42, 44.18, 101.69°)
OKLaboklab(66.43% -0.0271 0.1008)
OKLCHoklch(66.43% 0.104 105.1)
XYZxyz(26.0462, 29.7318, 9.9959)
Luminance0.2973 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9745 #454B9D
analogous
#9D6B45 #9D9745 #779D45
triadic
#9D9745 #459D97 #97459D
tetradic
#9D9745 #459D6B #454B9D #9D4577
square
#9D9745 #459D6B #454B9D #9D4577
split-complementary
#9D9745 #45779D #6B459D
monochromatic
#484520 #726E32 #9D9745 #BBB564 #CEC98F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D9745#FFFFFF#000000##000000
##9D97451.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)
#A3923D
Deuteranopia (green-blind)
#A59649
Tritanopia (blue-blind)
#A78E85
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9d9745;
/* rgb */ color: rgb(157, 151, 69);
/* oklch */ color: oklch(66.4% 0.104 105.1);
Tailwind
colors: {
  custom: {
    50: '#bcb57b',
    500: '#9d9745',
    950: '#000000',
  },
}
SCSS
$custom: #9d9745;
$custom-light: #bcb57b;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9745",
  "rgb": {
    "r": 157,
    "g": 151,
    "b": 69
  },
  "hsl": {
    "h": 55.909,
    "s": 38.938,
    "l": 44.314
  },
  "oklch": {
    "l": 0.66434,
    "c": 0.10442,
    "h": 105.1
  },
  "luminance": 0.29731
}

Semantic roles & 50–950 ramp

primary
#9D9745
secondary
#8588B9
accent
#61CF59
background
#FBFBF7
surface
#F7F6EE
border
#D0D0C9
text
#121109
muted
#81807B

Preview Lab

Preview with #9D9745

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

Preview Lab → · Contrast checker → · Palette generator →

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