#9B9D1D#9B9D1D

#9B9D1D is a light, vivid yellow. Relative luminance 0.312; OKLCH L 67.3% C 0.139 H 110.6°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#9B9D1D
RGBrgb(155, 157, 29)
HSLhsl(61, 69%, 36%)
HSVhsv(61, 82%, 62%)
CMYKcmyk(1.3%, 0%, 81.5%, 38.4%)
CIE-LABlab(62.65, -15.29, 60.27)
CIE-LCHlch(62.65, 62.18, 104.24°)
OKLaboklab(67.28% -0.049 0.1304)
OKLCHoklch(67.28% 0.139 110.6)
XYZxyz(25.7973, 31.1720, 5.8200)
Luminance0.3117 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9D1D #1F1D9D
analogous
#9D5F1D #9B9D1D #5B9D1D
triadic
#9B9D1D #1D9B9D #9D1D9B
tetradic
#9B9D1D #1D9D5F #1F1D9D #9D1D5B
square
#9B9D1D #1D9D5F #1F1D9D #9D1D5B
split-complementary
#9B9D1D #1D5B9D #5F1D9D
monochromatic
#35360A #686913 #9B9D1D #CED127 #DDE055

Accessibility & contrast

On white

2.90
#9B9D1D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#9B9D1D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9B9D1D
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9D1D#FFFFFF#000000##000000
##9B9D1D1.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b9d1d;
/* rgb */ color: rgb(155, 157, 29);
/* oklch */ color: oklch(67.3% 0.139 110.6);
Tailwind
colors: {
  custom: {
    50: '#bcb966',
    500: '#9b9d1d',
    950: '#000000',
  },
}
SCSS
$custom: #9b9d1d;
$custom-light: #bcb966;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9d1d",
  "rgb": {
    "r": 155,
    "g": 157,
    "b": 29
  },
  "hsl": {
    "h": 60.938,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.6728,
    "c": 0.13932,
    "h": 110.6
  },
  "luminance": 0.31171
}

Semantic roles & 50–950 ramp

primary
#9B9D1D
secondary
#5553C3
accent
#3CEC3F
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #9B9D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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