#A98D2F#A98D2F

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

Color values

HEX#A98D2F
RGBrgb(169, 141, 47)
HSLhsl(46, 56%, 42%)
HSVhsv(46, 72%, 66%)
CMYKcmyk(0%, 16.6%, 72.2%, 33.7%)
CIE-LABlab(59.61, 0.34, 51.63)
CIE-LCHlch(59.61, 51.63, 89.63°)
OKLaboklab(65.2% -0.004 0.1149)
OKLCHoklch(65.2% 0.115 92)
XYZxyz(26.4016, 27.6916, 6.6432)
Luminance0.2769 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98D2F #2F4BA9
analogous
#A9502F #A98D2F #88A92F
triadic
#A98D2F #2FA98D #8D2FA9
tetradic
#A98D2F #2FA950 #2F4BA9 #A92F88
square
#A98D2F #2FA950 #2F4BA9 #A92F88
split-complementary
#A98D2F #2F88A9 #502FA9
monochromatic
#493D14 #796522 #A98D2F #CCAE49 #DAC379

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A98D2F#FFFFFF#000000##000000
##A98D2F1.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)
#9D8B21
Deuteranopia (green-blind)
#A39334
Tritanopia (blue-blind)
#B7817A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a98d2f;
/* rgb */ color: rgb(169, 141, 47);
/* oklch */ color: oklch(65.2% 0.115 92.0);
Tailwind
colors: {
  custom: {
    50: '#c6ae6d',
    500: '#a98d2f',
    950: '#000000',
  },
}
SCSS
$custom: #a98d2f;
$custom-light: #c6ae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a98d2f",
  "rgb": {
    "r": 169,
    "g": 141,
    "b": 47
  },
  "hsl": {
    "h": 46.23,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.652,
    "c": 0.11499,
    "h": 92
  },
  "luminance": 0.2769
}

Semantic roles & 50–950 ramp

primary
#A98D2F
secondary
#7284C2
accent
#6BE048
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A98D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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