#9B992A#9B992A

#9B992A is a light, vivid yellow. Relative luminance 0.299; OKLCH L 66.4% C 0.128 H 108.4°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#9B992A
RGBrgb(155, 153, 42)
HSLhsl(59, 57%, 39%)
HSVhsv(59, 73%, 61%)
CMYKcmyk(0%, 1.3%, 72.9%, 39.2%)
CIE-LABlab(61.58, -12.66, 55.08)
CIE-LCHlch(61.58, 56.52, 102.95°)
OKLaboklab(66.45% -0.0405 0.1218)
OKLCHoklch(66.45% 0.128 108.4)
XYZxyz(25.3277, 29.9190, 6.6308)
Luminance0.2992 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B992A #2A2C9B
analogous
#9B602A #9B992A #649B2A
triadic
#9B992A #2A9B99 #992A9B
tetradic
#9B992A #2A9B60 #2A2C9B #9B2A64
square
#9B992A #2A9B60 #2A2C9B #9B2A64
split-complementary
#9B992A #2A649B #602A9B
monochromatic
#3B3A10 #6B691D #9B992A #C9C739 #D6D469

Accessibility & contrast

On white

3.01
#9B992A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#9B992A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B992A
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B992A#FFFFFF#000000##000000
##9B992A1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69315
Deuteranopia (green-blind)
#A89632
Tritanopia (blue-blind)
#A68F83
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9b992a;
/* rgb */ color: rgb(155, 153, 42);
/* oklch */ color: oklch(66.4% 0.128 108.4);
Tailwind
colors: {
  custom: {
    50: '#bcb66c',
    500: '#9b992a',
    950: '#000000',
  },
}
SCSS
$custom: #9b992a;
$custom-light: #bcb66c;
$custom-dark: #000000;
JSON
{
  "hex": "#9b992a",
  "rgb": {
    "r": 155,
    "g": 153,
    "b": 42
  },
  "hsl": {
    "h": 58.938,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.66448,
    "c": 0.12837,
    "h": 108.4
  },
  "luminance": 0.29918
}

Semantic roles & 50–950 ramp

primary
#9B992A
secondary
#6466BD
accent
#4AE147
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #9B992A

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

Preview Lab → · Contrast checker → · Palette generator →

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