#9A982A#9A982A

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

Color values

HEX#9A982A
RGBrgb(154, 152, 42)
HSLhsl(59, 57%, 38%)
HSVhsv(59, 73%, 60%)
CMYKcmyk(0%, 1.3%, 72.7%, 39.6%)
CIE-LABlab(61.22, -12.58, 54.70)
CIE-LCHlch(61.22, 56.12, 102.95°)
OKLaboklab(66.13% -0.0402 0.121)
OKLCHoklch(66.13% 0.128 108.4)
XYZxyz(24.9735, 29.4945, 6.5675)
Luminance0.2949 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A982A #2A2C9A
analogous
#9A602A #9A982A #649A2A
triadic
#9A982A #2A9A98 #982A9A
tetradic
#9A982A #2A9A60 #2A2C9A #9A2A64
square
#9A982A #2A9A60 #2A2C9A #9A2A64
split-complementary
#9A982A #2A649A #602A9A
monochromatic
#3A3910 #6A691D #9A982A #C9C638 #D6D468

Accessibility & contrast

On white

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

On black

6.90
#9A982A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A982A
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A982A#FFFFFF#000000##000000
##9A982A1.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9a982a;
/* rgb */ color: rgb(154, 152, 42);
/* oklch */ color: oklch(66.1% 0.128 108.4);
Tailwind
colors: {
  custom: {
    50: '#bbb66c',
    500: '#9a982a',
    950: '#000000',
  },
}
SCSS
$custom: #9a982a;
$custom-light: #bbb66c;
$custom-dark: #000000;
JSON
{
  "hex": "#9a982a",
  "rgb": {
    "r": 154,
    "g": 152,
    "b": 42
  },
  "hsl": {
    "h": 58.929,
    "s": 57.143,
    "l": 38.431
  },
  "oklch": {
    "l": 0.66133,
    "c": 0.12754,
    "h": 108.4
  },
  "luminance": 0.29494
}

Semantic roles & 50–950 ramp

primary
#9A982A
secondary
#6365BC
accent
#4AE047
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #9A982A

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

Preview Lab → · Contrast checker → · Palette generator →

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