#9A982D#9A982D

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

Color values

HEX#9A982D
RGBrgb(154, 152, 45)
HSLhsl(59, 55%, 39%)
HSVhsv(59, 71%, 60%)
CMYKcmyk(0%, 1.3%, 70.8%, 39.6%)
CIE-LABlab(61.23, -12.43, 53.58)
CIE-LCHlch(61.23, 55.00, 103.06°)
OKLaboklab(66.16% -0.0395 0.1192)
OKLCHoklch(66.16% 0.126 108.3)
XYZxyz(25.0292, 29.5167, 6.8610)
Luminance0.2952 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A982D #2D2F9A
analogous
#9A622D #9A982D #669A2D
triadic
#9A982D #2D9A98 #982D9A
tetradic
#9A982D #2D9A62 #2D2F9A #9A2D66
square
#9A982D #2D9A62 #2D2F9A #9A2D66
split-complementary
#9A982D #2D669A #622D9A
monochromatic
#3B3B11 #6B691F #9A982D #C7C43E #D4D26D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A982D#FFFFFF#000000##000000
##9A982D1.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)
#A5921B
Deuteranopia (green-blind)
#A69635
Tritanopia (blue-blind)
#A58E83
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9a982d;
/* rgb */ color: rgb(154, 152, 45);
/* oklch */ color: oklch(66.2% 0.126 108.3);
Tailwind
colors: {
  custom: {
    50: '#bbb66d',
    500: '#9a982d',
    950: '#000000',
  },
}
SCSS
$custom: #9a982d;
$custom-light: #bbb66d;
$custom-dark: #000000;
JSON
{
  "hex": "#9a982d",
  "rgb": {
    "r": 154,
    "g": 152,
    "b": 45
  },
  "hsl": {
    "h": 58.899,
    "s": 54.774,
    "l": 39.02
  },
  "oklch": {
    "l": 0.66155,
    "c": 0.12559,
    "h": 108.3
  },
  "luminance": 0.29516
}

Semantic roles & 50–950 ramp

primary
#9A982D
secondary
#6769BB
accent
#4CDE4A
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #9A982D

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

Preview Lab → · Contrast checker → · Palette generator →

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