#9B921E#9B921E

#9B921E is a light, vivid yellow. Relative luminance 0.276; OKLCH L 64.8% C 0.128 H 104.7°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#9B921E
RGBrgb(155, 146, 30)
HSLhsl(56, 68%, 36%)
HSVhsv(56, 81%, 61%)
CMYKcmyk(0%, 5.8%, 80.6%, 39.2%)
CIE-LABlab(59.54, -9.46, 57.25)
CIE-LCHlch(59.54, 58.03, 99.38°)
OKLaboklab(64.8% -0.0326 0.1241)
OKLCHoklch(64.8% 0.128 104.7)
XYZxyz(24.0319, 27.6211, 5.2936)
Luminance0.2762 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B921E #1E279B
analogous
#9B541E #9B921E #669B1E
triadic
#9B921E #1E9B92 #921E9B
tetradic
#9B921E #1E9B54 #1E279B #9B1E66
square
#9B921E #1E9B54 #1E279B #9B1E66
split-complementary
#9B921E #1E669B #541E9B
monochromatic
#34310A #686214 #9B921E #CEC228 #DED455

Accessibility & contrast

On white

3.22
#9B921E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#9B921E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B921E
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B921E#FFFFFF#000000##000000
##9B921E1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#A39228
Tritanopia (blue-blind)
#A7877D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9b921e;
/* rgb */ color: rgb(155, 146, 30);
/* oklch */ color: oklch(64.8% 0.128 104.7);
Tailwind
colors: {
  custom: {
    50: '#bcb165',
    500: '#9b921e',
    950: '#000000',
  },
}
SCSS
$custom: #9b921e;
$custom-light: #bcb165;
$custom-dark: #000000;
JSON
{
  "hex": "#9b921e",
  "rgb": {
    "r": 155,
    "g": 146,
    "b": 30
  },
  "hsl": {
    "h": 55.68,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.64802,
    "c": 0.12835,
    "h": 104.7
  },
  "luminance": 0.2762
}

Semantic roles & 50–950 ramp

primary
#9B921E
secondary
#535BC2
accent
#4AEA3D
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #9B921E

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

Preview Lab → · Contrast checker → · Palette generator →

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