#9C982B#9C982B

#9C982B is a light, vivid yellow. Relative luminance 0.297; OKLCH L 66.3% C 0.127 H 107.3°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#9C982B
RGBrgb(156, 152, 43)
HSLhsl(58, 57%, 39%)
HSVhsv(58, 72%, 61%)
CMYKcmyk(0%, 2.6%, 72.4%, 38.8%)
CIE-LABlab(61.39, -11.64, 54.55)
CIE-LCHlch(61.39, 55.78, 102.04°)
OKLaboklab(66.32% -0.0376 0.1209)
OKLCHoklch(66.32% 0.127 107.3)
XYZxyz(25.3756, 29.6997, 6.6810)
Luminance0.2970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C982B #2B2F9C
analogous
#9C602B #9C982B #689C2B
triadic
#9C982B #2B9C98 #982B9C
tetradic
#9C982B #2B9C60 #2B2F9C #9C2B68
square
#9C982B #2B9C60 #2B2F9C #9C2B68
split-complementary
#9C982B #2B689C #602B9C
monochromatic
#3C3B11 #6C691E #9C982B #C9C43B #D6D26B

Accessibility & contrast

On white

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

On black

6.94
#9C982B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C982B
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C982B#FFFFFF#000000##000000
##9C982B1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59218
Deuteranopia (green-blind)
#A79633
Tritanopia (blue-blind)
#A78E83
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9c982b;
/* rgb */ color: rgb(156, 152, 43);
/* oklch */ color: oklch(66.3% 0.127 107.3);
Tailwind
colors: {
  custom: {
    50: '#bcb66c',
    500: '#9c982b',
    950: '#000000',
  },
}
SCSS
$custom: #9c982b;
$custom-light: #bcb66c;
$custom-dark: #000000;
JSON
{
  "hex": "#9c982b",
  "rgb": {
    "r": 156,
    "g": 152,
    "b": 43
  },
  "hsl": {
    "h": 57.876,
    "s": 56.784,
    "l": 39.02
  },
  "oklch": {
    "l": 0.66319,
    "c": 0.12656,
    "h": 107.3
  },
  "luminance": 0.29699
}

Semantic roles & 50–950 ramp

primary
#9C982B
secondary
#6669BD
accent
#4DE048
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #9C982B

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

Preview Lab → · Contrast checker → · Palette generator →

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