#9D9941#9D9941

#9D9941 is a light, moderate yellow. Relative luminance 0.303; OKLCH L 66.8% C 0.110 H 106.6°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#9D9941
RGBrgb(157, 153, 65)
HSLhsl(57, 41%, 44%)
HSVhsv(57, 59%, 62%)
CMYKcmyk(0%, 2.5%, 58.6%, 38.4%)
CIE-LABlab(61.94, -10.34, 45.76)
CIE-LCHlch(61.94, 46.91, 102.73°)
OKLaboklab(66.83% -0.0315 0.1057)
OKLCHoklch(66.83% 0.11 106.6)
XYZxyz(26.2508, 30.3330, 9.4721)
Luminance0.3033 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9941 #41459D
analogous
#9D6B41 #9D9941 #739D41
triadic
#9D9941 #419D99 #99419D
tetradic
#9D9941 #419D6B #41459D #9D4173
square
#9D9941 #419D6B #41459D #9D4173
split-complementary
#9D9941 #41739D #6B419D
monochromatic
#46451D #726F2F #9D9941 #BDB95F #CFCC8A

Accessibility & contrast

On white

2.97
#9D9941 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#9D9941 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D9941
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9941#FFFFFF#000000##000000
##9D99411.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59438
Deuteranopia (green-blind)
#A79746
Tritanopia (blue-blind)
#A89086
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9d9941;
/* rgb */ color: rgb(157, 153, 65);
/* oklch */ color: oklch(66.8% 0.110 106.6);
Tailwind
colors: {
  custom: {
    50: '#bcb679',
    500: '#9d9941',
    950: '#000000',
  },
}
SCSS
$custom: #9d9941;
$custom-light: #bcb679;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9941",
  "rgb": {
    "r": 157,
    "g": 153,
    "b": 65
  },
  "hsl": {
    "h": 57.391,
    "s": 41.441,
    "l": 43.529
  },
  "oklch": {
    "l": 0.66833,
    "c": 0.11031,
    "h": 106.6
  },
  "luminance": 0.30332
}

Semantic roles & 50–950 ramp

primary
#9D9941
secondary
#8083B9
accent
#5CD157
background
#FBFBF7
surface
#F7F6EE
border
#D0D0C9
text
#121109
muted
#81807B

Preview Lab

Preview with #9D9941

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

Preview Lab → · Contrast checker → · Palette generator →

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