#9D973F#9D973F

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

Color values

HEX#9D973F
RGBrgb(157, 151, 63)
HSLhsl(56, 43%, 43%)
HSVhsv(56, 60%, 62%)
CMYKcmyk(0%, 3.8%, 59.9%, 38.4%)
CIE-LABlab(61.36, -9.42, 46.05)
CIE-LCHlch(61.36, 47.01, 101.56°)
OKLaboklab(66.36% -0.0292 0.1061)
OKLCHoklch(66.36% 0.11 105.4)
XYZxyz(25.8693, 29.6611, 9.0641)
Luminance0.2966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D973F #3F459D
analogous
#9D683F #9D973F #749D3F
triadic
#9D973F #3F9D97 #973F9D
tetradic
#9D973F #3F9D68 #3F459D #9D3F74
square
#9D973F #3F9D68 #3F459D #9D3F74
split-complementary
#9D973F #3F749D #683F9D
monochromatic
#46431C #716D2D #9D973F #BDB75C #CFCA87

Accessibility & contrast

On white

3.03
#9D973F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#9D973F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D973F
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D973F#FFFFFF#000000##000000
##9D973F1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39235
Deuteranopia (green-blind)
#A69644
Tritanopia (blue-blind)
#A88E84
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9d973f;
/* rgb */ color: rgb(157, 151, 63);
/* oklch */ color: oklch(66.4% 0.110 105.4);
Tailwind
colors: {
  custom: {
    50: '#bcb578',
    500: '#9d973f',
    950: '#000000',
  },
}
SCSS
$custom: #9d973f;
$custom-light: #bcb578;
$custom-dark: #000000;
JSON
{
  "hex": "#9d973f",
  "rgb": {
    "r": 157,
    "g": 151,
    "b": 63
  },
  "hsl": {
    "h": 56.17,
    "s": 42.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.66365,
    "c": 0.11001,
    "h": 105.4
  },
  "luminance": 0.2966
}

Semantic roles & 50–950 ramp

primary
#9D973F
secondary
#7E82BA
accent
#5DD355
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121109
muted
#81807B

Preview Lab

Preview with #9D973F

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

Preview Lab → · Contrast checker → · Palette generator →

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