#9B9E1B#9B9E1B

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

Color values

HEX#9B9E1B
RGBrgb(155, 158, 27)
HSLhsl(61, 71%, 36%)
HSVhsv(61, 83%, 62%)
CMYKcmyk(1.9%, 0%, 82.9%, 38%)
CIE-LABlab(62.93, -15.87, 61.05)
CIE-LCHlch(62.93, 63.08, 104.58°)
OKLaboklab(67.5% -0.0507 0.1317)
OKLCHoklch(67.5% 0.141 111.1)
XYZxyz(25.9432, 31.5021, 5.7506)
Luminance0.3150 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9E1B #1E1B9E
analogous
#9E601B #9B9E1B #5A9E1B
triadic
#9B9E1B #1B9B9E #9E1B9B
tetradic
#9B9E1B #1B9E60 #1E1B9E #9E1B5A
square
#9B9E1B #1B9E60 #1E1B9E #9E1B5A
split-complementary
#9B9E1B #1B5A9E #601B9E
monochromatic
#343509 #686A12 #9B9E1B #CED224 #DEE152

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B9E1B#FFFFFF#000000##000000
##9B9E1B1.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)
#AC9A28
Tritanopia (blue-blind)
#A69487
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9b9e1b;
/* rgb */ color: rgb(155, 158, 27);
/* oklch */ color: oklch(67.5% 0.141 111.1);
Tailwind
colors: {
  custom: {
    50: '#bcba66',
    500: '#9b9e1b',
    950: '#000000',
  },
}
SCSS
$custom: #9b9e1b;
$custom-light: #bcba66;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9e1b",
  "rgb": {
    "r": 155,
    "g": 158,
    "b": 27
  },
  "hsl": {
    "h": 61.374,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.67499,
    "c": 0.14117,
    "h": 111.1
  },
  "luminance": 0.31501
}

Semantic roles & 50–950 ramp

primary
#9B9E1B
secondary
#5351C4
accent
#3AEE3E
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #9B9E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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