#9D973E#9D973E

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

Color values

HEX#9D973E
RGBrgb(157, 151, 62)
HSLhsl(56, 43%, 43%)
HSVhsv(56, 61%, 62%)
CMYKcmyk(0%, 3.8%, 60.5%, 38.4%)
CIE-LABlab(61.35, -9.50, 46.51)
CIE-LCHlch(61.35, 47.47, 101.54°)
OKLaboklab(66.35% -0.0295 0.1069)
OKLCHoklch(66.35% 0.111 105.4)
XYZxyz(25.8416, 29.6500, 8.9183)
Luminance0.2965 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D973E #3E449D
analogous
#9D683E #9D973E #739D3E
triadic
#9D973E #3E9D97 #973E9D
tetradic
#9D973E #3E9D68 #3E449D #9D3E73
square
#9D973E #3E9D68 #3E449D #9D3E73
split-complementary
#9D973E #3E739D #683E9D
monochromatic
#45431B #716D2D #9D973E #BEB85A #CFCB86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D973E#FFFFFF#000000##000000
##9D973E1.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)
#A39234
Deuteranopia (green-blind)
#A69643
Tritanopia (blue-blind)
#A88E84
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9d973e;
/* rgb */ color: rgb(157, 151, 62);
/* oklch */ color: oklch(66.4% 0.111 105.4);
Tailwind
colors: {
  custom: {
    50: '#bcb577',
    500: '#9d973e',
    950: '#000000',
  },
}
SCSS
$custom: #9d973e;
$custom-light: #bcb577;
$custom-dark: #000000;
JSON
{
  "hex": "#9d973e",
  "rgb": {
    "r": 157,
    "g": 151,
    "b": 62
  },
  "hsl": {
    "h": 56.211,
    "s": 43.379,
    "l": 42.941
  },
  "oklch": {
    "l": 0.66354,
    "c": 0.11089,
    "h": 105.4
  },
  "luminance": 0.29649
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D973E

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

Preview Lab → · Contrast checker → · Palette generator →

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