#A98C31#A98C31

#A98C31 is a light, moderate yellow. Relative luminance 0.274; OKLCH L 65.0% C 0.113 H 90.9°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#A98C31
RGBrgb(169, 140, 49)
HSLhsl(46, 55%, 43%)
HSVhsv(46, 71%, 66%)
CMYKcmyk(0%, 17.2%, 71%, 33.7%)
CIE-LABlab(59.36, 0.99, 50.53)
CIE-LCHlch(59.36, 50.54, 88.88°)
OKLaboklab(65.01% -0.0018 0.113)
OKLCHoklch(65.01% 0.113 90.9)
XYZxyz(26.2961, 27.4145, 6.8116)
Luminance0.2741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98C31 #314EA9
analogous
#A95031 #A98C31 #8AA931
triadic
#A98C31 #31A98C #8C31A9
tetradic
#A98C31 #31A950 #314EA9 #A9318A
square
#A98C31 #31A950 #314EA9 #A9318A
split-complementary
#A98C31 #318AA9 #5031A9
monochromatic
#4A3D15 #7A6523 #A98C31 #CBAC4C #D9C27C

Accessibility & contrast

On white

3.24
#A98C31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#A98C31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A98C31
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98C31#FFFFFF#000000##000000
##A98C311.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A25
Deuteranopia (green-blind)
#A39236
Tritanopia (blue-blind)
#B78079
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a98c31;
/* rgb */ color: rgb(169, 140, 49);
/* oklch */ color: oklch(65.0% 0.113 90.9);
Tailwind
colors: {
  custom: {
    50: '#c6ad6e',
    500: '#a98c31',
    950: '#000000',
  },
}
SCSS
$custom: #a98c31;
$custom-light: #c6ad6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a98c31",
  "rgb": {
    "r": 169,
    "g": 140,
    "b": 49
  },
  "hsl": {
    "h": 45.5,
    "s": 55.046,
    "l": 42.745
  },
  "oklch": {
    "l": 0.65005,
    "c": 0.11298,
    "h": 90.9
  },
  "luminance": 0.27413
}

Semantic roles & 50–950 ramp

primary
#A98C31
secondary
#7487C1
accent
#6DDE49
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A98C31

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

Preview Lab → · Contrast checker → · Palette generator →

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