#9C9D1D#9C9D1D

#9C9D1D is a light, vivid yellow. Relative luminance 0.313; OKLCH L 67.4% C 0.139 H 110.1°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#9C9D1D
RGBrgb(156, 157, 29)
HSLhsl(60, 69%, 36%)
HSVhsv(60, 82%, 62%)
CMYKcmyk(0.6%, 0%, 81.5%, 38.4%)
CIE-LABlab(62.74, -14.85, 60.37)
CIE-LCHlch(62.74, 62.17, 103.82°)
OKLaboklab(67.37% -0.0478 0.1306)
OKLCHoklch(67.37% 0.139 110.1)
XYZxyz(25.9900, 31.2714, 5.8291)
Luminance0.3127 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C9D1D #1E1D9D
analogous
#9D5E1D #9C9D1D #5C9D1D
triadic
#9C9D1D #1D9C9D #9D1D9C
tetradic
#9C9D1D #1D9D5E #1E1D9D #9D1D5C
square
#9C9D1D #1D9D5E #1E1D9D #9D1D5C
split-complementary
#9C9D1D #1D5C9D #5E1D9D
monochromatic
#35360A #696913 #9C9D1D #CFD127 #DEE055

Accessibility & contrast

On white

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

On black

7.25
#9C9D1D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9C9D1D
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C9D1D#FFFFFF#000000##000000
##9C9D1D1.002.897.257.25
#FFFFFF2.891.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#AB9929
Tritanopia (blue-blind)
#A89286
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9c9d1d;
/* rgb */ color: rgb(156, 157, 29);
/* oklch */ color: oklch(67.4% 0.139 110.1);
Tailwind
colors: {
  custom: {
    50: '#bdb966',
    500: '#9c9d1d',
    950: '#000000',
  },
}
SCSS
$custom: #9c9d1d;
$custom-light: #bdb966;
$custom-dark: #000000;
JSON
{
  "hex": "#9c9d1d",
  "rgb": {
    "r": 156,
    "g": 157,
    "b": 29
  },
  "hsl": {
    "h": 60.469,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.67368,
    "c": 0.13908,
    "h": 110.1
  },
  "luminance": 0.31271
}

Semantic roles & 50–950 ramp

primary
#9C9D1D
secondary
#5453C3
accent
#3CEC3E
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9C9D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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