#9B9C1D#9B9C1D

#9B9C1D is a light, vivid yellow. Relative luminance 0.308; OKLCH L 67.1% C 0.138 H 110.1°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#9B9C1D
RGBrgb(155, 156, 29)
HSLhsl(60, 69%, 36%)
HSVhsv(60, 81%, 61%)
CMYKcmyk(0.6%, 0%, 81.4%, 38.8%)
CIE-LABlab(62.37, -14.77, 60.02)
CIE-LCHlch(62.37, 61.81, 103.83°)
OKLaboklab(67.05% -0.0475 0.1299)
OKLCHoklch(67.05% 0.138 110.1)
XYZxyz(25.6288, 30.8350, 5.7639)
Luminance0.3083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9C1D #1E1D9C
analogous
#9C5E1D #9B9C1D #5C9C1D
triadic
#9B9C1D #1D9B9C #9C1D9B
tetradic
#9B9C1D #1D9C5E #1E1D9C #9C1D5C
square
#9B9C1D #1D9C5E #1E1D9C #9C1D5C
split-complementary
#9B9C1D #1D5C9C #5E1D9C
monochromatic
#34350A #686813 #9B9C1D #CED027 #DEDF54

Accessibility & contrast

On white

2.93
#9B9C1D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#9B9C1D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9B9C1D
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9C1D#FFFFFF#000000##000000
##9B9C1D1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b9c1d;
/* rgb */ color: rgb(155, 156, 29);
/* oklch */ color: oklch(67.1% 0.138 110.1);
Tailwind
colors: {
  custom: {
    50: '#bcb866',
    500: '#9b9c1d',
    950: '#000000',
  },
}
SCSS
$custom: #9b9c1d;
$custom-light: #bcb866;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9c1d",
  "rgb": {
    "r": 155,
    "g": 156,
    "b": 29
  },
  "hsl": {
    "h": 60.472,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.67053,
    "c": 0.13832,
    "h": 110.1
  },
  "luminance": 0.30834
}

Semantic roles & 50–950 ramp

primary
#9B9C1D
secondary
#5352C2
accent
#3CEB3E
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #9B9C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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