#9C981E#9C981E

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

Color values

HEX#9C981E
RGBrgb(156, 152, 30)
HSLhsl(58, 68%, 36%)
HSVhsv(58, 81%, 61%)
CMYKcmyk(0%, 2.6%, 80.8%, 38.8%)
CIE-LABlab(61.32, -12.19, 58.86)
CIE-LCHlch(61.32, 60.11, 101.70°)
OKLaboklab(66.24% -0.0403 0.1275)
OKLCHoklch(66.24% 0.134 107.5)
XYZxyz(25.1739, 29.6190, 5.6190)
Luminance0.2962 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C981E #1E229C
analogous
#9C591E #9C981E #619C1E
triadic
#9C981E #1E9C98 #981E9C
tetradic
#9C981E #1E9C59 #1E229C #9C1E61
square
#9C981E #1E9C59 #1E229C #9C1E61
split-complementary
#9C981E #1E619C #591E9C
monochromatic
#35340A #696614 #9C981E #CFCA28 #DEDA56

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C981E#FFFFFF#000000##000000
##9C981E1.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)
#A59200
Deuteranopia (green-blind)
#A89629
Tritanopia (blue-blind)
#A88D82
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9c981e;
/* rgb */ color: rgb(156, 152, 30);
/* oklch */ color: oklch(66.2% 0.134 107.5);
Tailwind
colors: {
  custom: {
    50: '#bdb666',
    500: '#9c981e',
    950: '#000000',
  },
}
SCSS
$custom: #9c981e;
$custom-light: #bdb666;
$custom-dark: #000000;
JSON
{
  "hex": "#9c981e",
  "rgb": {
    "r": 156,
    "g": 152,
    "b": 30
  },
  "hsl": {
    "h": 58.095,
    "s": 67.742,
    "l": 36.471
  },
  "oklch": {
    "l": 0.66241,
    "c": 0.13376,
    "h": 107.5
  },
  "luminance": 0.29618
}

Semantic roles & 50–950 ramp

primary
#9C981E
secondary
#5457C2
accent
#43EB3D
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9C981E

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

Preview Lab → · Contrast checker → · Palette generator →

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