#9D9C1B#9D9C1B

#9D9C1B is a light, vivid yellow. Relative luminance 0.310; OKLCH L 67.2% C 0.139 H 109.1°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#9D9C1B
RGBrgb(157, 156, 27)
HSLhsl(60, 71%, 36%)
HSVhsv(60, 83%, 62%)
CMYKcmyk(0%, 0.6%, 82.8%, 38.4%)
CIE-LABlab(62.53, -13.94, 60.77)
CIE-LCHlch(62.53, 62.35, 102.92°)
OKLaboklab(67.22% -0.0455 0.1311)
OKLCHoklch(67.22% 0.139 109.1)
XYZxyz(25.9920, 31.0250, 5.6560)
Luminance0.3102 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9C1B #1B1C9D
analogous
#9D5B1B #9D9C1B #5D9D1B
triadic
#9D9C1B #1B9D9C #9C1B9D
tetradic
#9D9C1B #1B9D5B #1B1C9D #9D1B5D
square
#9D9C1B #1B9D5B #1B1C9D #9D1B5D
split-complementary
#9D9C1B #1B5D9D #5B1B9D
monochromatic
#353409 #696812 #9D9C1B #D1D024 #E1E051

Accessibility & contrast

On white

2.91
#9D9C1B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#9D9C1B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D9C1B
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9C1B#FFFFFF#000000##000000
##9D9C1B1.002.917.207.20
#FFFFFF2.911.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#AB9928
Tritanopia (blue-blind)
#A99185
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9d9c1b;
/* rgb */ color: rgb(157, 156, 27);
/* oklch */ color: oklch(67.2% 0.139 109.1);
Tailwind
colors: {
  custom: {
    50: '#beb866',
    500: '#9d9c1b',
    950: '#000000',
  },
}
SCSS
$custom: #9d9c1b;
$custom-light: #beb866;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9c1b",
  "rgb": {
    "r": 157,
    "g": 156,
    "b": 27
  },
  "hsl": {
    "h": 59.538,
    "s": 70.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.6722,
    "c": 0.13871,
    "h": 109.1
  },
  "luminance": 0.31024
}

Semantic roles & 50–950 ramp

primary
#9D9C1B
secondary
#5051C4
accent
#3CED3A
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9D9C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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