#9B9E1D#9B9E1D

#9B9E1D is a light, vivid yellow. Relative luminance 0.315; OKLCH L 67.5% C 0.140 H 111.0°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#9B9E1D
RGBrgb(155, 158, 29)
HSLhsl(61, 69%, 37%)
HSVhsv(61, 82%, 62%)
CMYKcmyk(1.9%, 0%, 81.6%, 38%)
CIE-LABlab(62.94, -15.81, 60.52)
CIE-LCHlch(62.94, 62.55, 104.64°)
OKLaboklab(67.51% -0.0504 0.131)
OKLCHoklch(67.51% 0.14 111)
XYZxyz(25.9672, 31.5117, 5.8767)
Luminance0.3151 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9E1D #201D9E
analogous
#9E611D #9B9E1D #5B9E1D
triadic
#9B9E1D #1D9B9E #9E1D9B
tetradic
#9B9E1D #1D9E61 #201D9E #9E1D5B
square
#9B9E1D #1D9E61 #201D9E #9E1D5B
split-complementary
#9B9E1D #1D5B9E #611D9E
monochromatic
#36370A #686A14 #9B9E1D #CED226 #DDE056

Accessibility & contrast

On white

2.88
#9B9E1D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#9B9E1D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9B9E1D
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9E1D#FFFFFF#000000##000000
##9B9E1D1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#AC9A2A
Tritanopia (blue-blind)
#A69487
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9b9e1d;
/* rgb */ color: rgb(155, 158, 29);
/* oklch */ color: oklch(67.5% 0.140 111.0);
Tailwind
colors: {
  custom: {
    50: '#bcba67',
    500: '#9b9e1d',
    950: '#000000',
  },
}
SCSS
$custom: #9b9e1d;
$custom-light: #bcba67;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9e1d",
  "rgb": {
    "r": 155,
    "g": 158,
    "b": 29
  },
  "hsl": {
    "h": 61.395,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.67508,
    "c": 0.14032,
    "h": 111
  },
  "luminance": 0.31511
}

Semantic roles & 50–950 ramp

primary
#9B9E1D
secondary
#5654C3
accent
#3CEC40
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9B9E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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