#9D9C3D#9D9C3D

#9D9C3D is a light, moderate yellow. Relative luminance 0.313; OKLCH L 67.5% C 0.117 H 108.6°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#9D9C3D
RGBrgb(157, 156, 61)
HSLhsl(59, 44%, 43%)
HSVhsv(59, 61%, 62%)
CMYKcmyk(0%, 0.6%, 61.1%, 38.4%)
CIE-LABlab(62.75, -12.22, 48.49)
CIE-LCHlch(62.75, 50.01, 104.14°)
OKLaboklab(67.46% -0.0373 0.111)
OKLCHoklch(67.46% 0.117 108.6)
XYZxyz(26.6362, 31.2827, 9.0490)
Luminance0.3128 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9C3D #3D3E9D
analogous
#9D6C3D #9D9C3D #6E9D3D
triadic
#9D9C3D #3D9D9C #9C3D9D
tetradic
#9D9C3D #3D9D6C #3D3E9D #9D3D6E
square
#9D9C3D #3D9D6C #3D3E9D #9D3D6E
split-complementary
#9D9C3D #3D6E9D #6C3D9D
monochromatic
#45441B #71702C #9D9C3D #BEBD59 #D0CF85

Accessibility & contrast

On white

2.89
#9D9C3D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#9D9C3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D9C3D
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9C3D#FFFFFF#000000##000000
##9D9C3D1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89632
Deuteranopia (green-blind)
#A99943
Tritanopia (blue-blind)
#A89388
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9d9c3d;
/* rgb */ color: rgb(157, 156, 61);
/* oklch */ color: oklch(67.5% 0.117 108.6);
Tailwind
colors: {
  custom: {
    50: '#bcb977',
    500: '#9d9c3d',
    950: '#000000',
  },
}
SCSS
$custom: #9d9c3d;
$custom-light: #bcb977;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9c3d",
  "rgb": {
    "r": 157,
    "g": 156,
    "b": 61
  },
  "hsl": {
    "h": 59.375,
    "s": 44.037,
    "l": 42.745
  },
  "oklch": {
    "l": 0.67462,
    "c": 0.11708,
    "h": 108.6
  },
  "luminance": 0.31282
}

Semantic roles & 50–950 ramp

primary
#9D9C3D
secondary
#7C7DBA
accent
#55D454
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121109
muted
#81807B

Preview Lab

Preview with #9D9C3D

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

Preview Lab → · Contrast checker → · Palette generator →

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