#9B9B22#9B9B22

#9B9B22 is a light, vivid yellow. Relative luminance 0.305; OKLCH L 66.9% C 0.135 H 109.6°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#9B9B22
RGBrgb(155, 155, 34)
HSLhsl(60, 64%, 37%)
HSVhsv(60, 78%, 61%)
CMYKcmyk(0%, 0%, 78.1%, 39.2%)
CIE-LABlab(62.11, -14.07, 58.30)
CIE-LCHlch(62.11, 59.98, 103.56°)
OKLaboklab(66.85% -0.0452 0.1272)
OKLCHoklch(66.85% 0.135 109.6)
XYZxyz(25.5286, 30.5275, 6.0607)
Luminance0.3053 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9B22 #22229B
analogous
#9B5F22 #9B9B22 #5F9B22
triadic
#9B9B22 #229B9B #9B229B
tetradic
#9B9B22 #229B5F #22229B #9B225F
square
#9B9B22 #229B5F #22229B #9B225F
split-complementary
#9B9B22 #225F9B #5F229B
monochromatic
#37370C #696917 #9B9B22 #CDCD2D #DBDB5C

Accessibility & contrast

On white

2.96
#9B9B22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#9B9B22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9B9B22
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9B22#FFFFFF#000000##000000
##9B9B221.002.967.117.11
#FFFFFF2.961.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#A9982C
Tritanopia (blue-blind)
#A69185
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9b9b22;
/* rgb */ color: rgb(155, 155, 34);
/* oklch */ color: oklch(66.9% 0.135 109.6);
Tailwind
colors: {
  custom: {
    50: '#bcb868',
    500: '#9b9b22',
    950: '#000000',
  },
}
SCSS
$custom: #9b9b22;
$custom-light: #bcb868;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9b22",
  "rgb": {
    "r": 155,
    "g": 155,
    "b": 34
  },
  "hsl": {
    "h": 60,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.66851,
    "c": 0.13493,
    "h": 109.6
  },
  "luminance": 0.30527
}

Semantic roles & 50–950 ramp

primary
#9B9B22
secondary
#5959C0
accent
#41E741
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9B9B22

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

Preview Lab → · Contrast checker → · Palette generator →

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