#9B982A#9B982A

#9B982A is a light, vivid yellow. Relative luminance 0.296; OKLCH L 66.2% C 0.127 H 107.8°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#9B982A
RGBrgb(155, 152, 42)
HSLhsl(58, 57%, 39%)
HSVhsv(58, 73%, 61%)
CMYKcmyk(0%, 1.9%, 72.9%, 39.2%)
CIE-LABlab(61.30, -12.13, 54.81)
CIE-LCHlch(61.30, 56.13, 102.48°)
OKLaboklab(66.22% -0.039 0.1212)
OKLCHoklch(66.22% 0.127 107.8)
XYZxyz(25.1647, 29.5930, 6.5765)
Luminance0.2959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B982A #2A2D9B
analogous
#9B5F2A #9B982A #659B2A
triadic
#9B982A #2A9B98 #982A9B
tetradic
#9B982A #2A9B5F #2A2D9B #9B2A65
square
#9B982A #2A9B5F #2A2D9B #9B2A65
split-complementary
#9B982A #2A659B #5F2A9B
monochromatic
#3B3A10 #6B691D #9B982A #C9C539 #D6D369

Accessibility & contrast

On white

3.04
#9B982A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#9B982A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B982A
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B982A#FFFFFF#000000##000000
##9B982A1.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59216
Deuteranopia (green-blind)
#A79632
Tritanopia (blue-blind)
#A68E83
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9b982a;
/* rgb */ color: rgb(155, 152, 42);
/* oklch */ color: oklch(66.2% 0.127 107.8);
Tailwind
colors: {
  custom: {
    50: '#bcb66c',
    500: '#9b982a',
    950: '#000000',
  },
}
SCSS
$custom: #9b982a;
$custom-light: #bcb66c;
$custom-dark: #000000;
JSON
{
  "hex": "#9b982a",
  "rgb": {
    "r": 155,
    "g": 152,
    "b": 42
  },
  "hsl": {
    "h": 58.407,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.66223,
    "c": 0.12736,
    "h": 107.8
  },
  "luminance": 0.29592
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B982A

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

Preview Lab → · Contrast checker → · Palette generator →

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