#A98F31#A98F31

#A98F31 is a light, moderate yellow. Relative luminance 0.283; OKLCH L 65.6% C 0.115 H 93.3°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#A98F31
RGBrgb(169, 143, 49)
HSLhsl(47, 55%, 43%)
HSVhsv(47, 71%, 66%)
CMYKcmyk(0%, 15.4%, 71%, 33.7%)
CIE-LABlab(60.16, -0.66, 51.35)
CIE-LCHlch(60.16, 51.35, 90.73°)
OKLaboklab(65.64% -0.0065 0.1147)
OKLCHoklch(65.64% 0.115 93.3)
XYZxyz(26.7404, 28.3032, 6.9597)
Luminance0.2830 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98F31 #314BA9
analogous
#A95331 #A98F31 #87A931
triadic
#A98F31 #31A98F #8F31A9
tetradic
#A98F31 #31A953 #314BA9 #A93187
square
#A98F31 #31A953 #314BA9 #A93187
split-complementary
#A98F31 #3187A9 #5331A9
monochromatic
#4A3F15 #7A6723 #A98F31 #CBB04C #D9C57C

Accessibility & contrast

On white

3.15
#A98F31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#A98F31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A98F31
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98F31#FFFFFF#000000##000000
##A98F311.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8D24
Deuteranopia (green-blind)
#A59436
Tritanopia (blue-blind)
#B7847C
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a98f31;
/* rgb */ color: rgb(169, 143, 49);
/* oklch */ color: oklch(65.6% 0.115 93.3);
Tailwind
colors: {
  custom: {
    50: '#c6af6f',
    500: '#a98f31',
    950: '#000000',
  },
}
SCSS
$custom: #a98f31;
$custom-light: #c6af6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a98f31",
  "rgb": {
    "r": 169,
    "g": 143,
    "b": 49
  },
  "hsl": {
    "h": 47,
    "s": 55.046,
    "l": 42.745
  },
  "oklch": {
    "l": 0.65641,
    "c": 0.11489,
    "h": 93.3
  },
  "luminance": 0.28302
}

Semantic roles & 50–950 ramp

primary
#A98F31
secondary
#7485C1
accent
#6ADE49
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#131008
muted
#827F7B

Preview Lab

Preview with #A98F31

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

Preview Lab → · Contrast checker → · Palette generator →

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