#9B9F16#9B9F16

#9B9F16 is a light, vivid yellow. Relative luminance 0.318; OKLCH L 67.7% C 0.144 H 111.5°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#9B9F16
RGBrgb(155, 159, 22)
HSLhsl(62, 76%, 35%)
HSVhsv(62, 86%, 62%)
CMYKcmyk(2.5%, 0%, 86.2%, 37.6%)
CIE-LABlab(63.20, -16.53, 62.49)
CIE-LCHlch(63.20, 64.64, 104.82°)
OKLaboklab(67.71% -0.0529 0.134)
OKLCHoklch(67.71% 0.144 111.5)
XYZxyz(26.0615, 31.8235, 5.5286)
Luminance0.3182 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9F16 #1A169F
analogous
#9F5E16 #9B9F16 #569F16
triadic
#9B9F16 #169B9F #9F169B
tetradic
#9B9F16 #169F5E #1A169F #9F1656
square
#9B9F16 #169F5E #1A169F #9F1656
split-complementary
#9B9F16 #16569F #5E169F
monochromatic
#323307 #67690F #9B9F16 #CFD51D #E1E64A

Accessibility & contrast

On white

2.85
#9B9F16 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#9B9F16 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9B9F16
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9F16#FFFFFF#000000##000000
##9B9F161.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9700
Deuteranopia (green-blind)
#AD9A25
Tritanopia (blue-blind)
#A69487
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #9b9f16;
/* rgb */ color: rgb(155, 159, 22);
/* oklch */ color: oklch(67.7% 0.144 111.5);
Tailwind
colors: {
  custom: {
    50: '#bcbb64',
    500: '#9b9f16',
    950: '#000000',
  },
}
SCSS
$custom: #9b9f16;
$custom-light: #bcbb64;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9f16",
  "rgb": {
    "r": 155,
    "g": 159,
    "b": 22
  },
  "hsl": {
    "h": 61.752,
    "s": 75.691,
    "l": 35.49
  },
  "oklch": {
    "l": 0.67708,
    "c": 0.14406,
    "h": 111.5
  },
  "luminance": 0.31823
}

Semantic roles & 50–950 ramp

primary
#9B9F16
secondary
#4D4AC7
accent
#36F23B
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9B9F16

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

Preview Lab → · Contrast checker → · Palette generator →

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