#A98D31#A98D31

#A98D31 is a light, moderate yellow. Relative luminance 0.277; OKLCH L 65.2% C 0.114 H 91.7°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#A98D31
RGBrgb(169, 141, 49)
HSLhsl(46, 55%, 43%)
HSVhsv(46, 71%, 66%)
CMYKcmyk(0%, 16.6%, 71%, 33.7%)
CIE-LABlab(59.62, 0.44, 50.80)
CIE-LCHlch(59.62, 50.80, 89.50°)
OKLaboklab(65.22% -0.0034 0.1136)
OKLCHoklch(65.22% 0.114 91.7)
XYZxyz(26.4428, 27.7081, 6.8605)
Luminance0.2771 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98D31 #314DA9
analogous
#A95131 #A98D31 #89A931
triadic
#A98D31 #31A98D #8D31A9
tetradic
#A98D31 #31A951 #314DA9 #A93189
square
#A98D31 #31A951 #314DA9 #A93189
split-complementary
#A98D31 #3189A9 #5131A9
monochromatic
#4A3E15 #7A6523 #A98D31 #CBAD4C #D9C37C

Accessibility & contrast

On white

3.21
#A98D31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#A98D31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A98D31
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98D31#FFFFFF#000000##000000
##A98D311.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8B24
Deuteranopia (green-blind)
#A39336
Tritanopia (blue-blind)
#B7817A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a98d31;
/* rgb */ color: rgb(169, 141, 49);
/* oklch */ color: oklch(65.2% 0.114 91.7);
Tailwind
colors: {
  custom: {
    50: '#c6ae6f',
    500: '#a98d31',
    950: '#000000',
  },
}
SCSS
$custom: #a98d31;
$custom-light: #c6ae6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a98d31",
  "rgb": {
    "r": 169,
    "g": 141,
    "b": 49
  },
  "hsl": {
    "h": 46,
    "s": 55.046,
    "l": 42.745
  },
  "oklch": {
    "l": 0.65217,
    "c": 0.1136,
    "h": 91.7
  },
  "luminance": 0.27707
}

Semantic roles & 50–950 ramp

primary
#A98D31
secondary
#7486C1
accent
#6CDE49
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#131008
muted
#827F7B

Preview Lab

Preview with #A98D31

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

Preview Lab → · Contrast checker → · Palette generator →

#A98D31 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva