#9B982D#9B982D

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

Color values

HEX#9B982D
RGBrgb(155, 152, 45)
HSLhsl(58, 55%, 39%)
HSVhsv(58, 71%, 61%)
CMYKcmyk(0%, 1.9%, 71%, 39.2%)
CIE-LABlab(61.32, -11.98, 53.69)
CIE-LCHlch(61.32, 55.01, 102.58°)
OKLaboklab(66.24% -0.0383 0.1194)
OKLCHoklch(66.24% 0.125 107.8)
XYZxyz(25.2204, 29.6153, 6.8699)
Luminance0.2961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B982D #2D309B
analogous
#9B612D #9B982D #679B2D
triadic
#9B982D #2D9B98 #982D9B
tetradic
#9B982D #2D9B61 #2D309B #9B2D67
square
#9B982D #2D9B61 #2D309B #9B2D67
split-complementary
#9B982D #2D679B #612D9B
monochromatic
#3C3B11 #6C691F #9B982D #C7C33E #D5D26E

Accessibility & contrast

On white

3.03
#9B982D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B982D#FFFFFF#000000##000000
##9B982D1.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b982d;
/* rgb */ color: rgb(155, 152, 45);
/* oklch */ color: oklch(66.2% 0.125 107.8);
Tailwind
colors: {
  custom: {
    50: '#bcb66d',
    500: '#9b982d',
    950: '#000000',
  },
}
SCSS
$custom: #9b982d;
$custom-light: #bcb66d;
$custom-dark: #000000;
JSON
{
  "hex": "#9b982d",
  "rgb": {
    "r": 155,
    "g": 152,
    "b": 45
  },
  "hsl": {
    "h": 58.364,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.66244,
    "c": 0.12541,
    "h": 107.8
  },
  "luminance": 0.29614
}

Semantic roles & 50–950 ramp

primary
#9B982D
secondary
#686ABC
accent
#4EDE49
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #9B982D

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

Preview Lab → · Contrast checker → · Palette generator →

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