#A98A2D#A98A2D

#A98A2D is a light, moderate yellow. Relative luminance 0.268; OKLCH L 64.6% C 0.115 H 89.9°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#A98A2D
RGBrgb(169, 138, 45)
HSLhsl(45, 58%, 42%)
HSVhsv(45, 73%, 66%)
CMYKcmyk(0%, 18.3%, 73.4%, 33.7%)
CIE-LABlab(58.79, 1.89, 51.64)
CIE-LCHlch(58.79, 51.67, 87.91°)
OKLaboklab(64.55% 0.0003 0.1146)
OKLCHoklch(64.55% 0.115 89.9)
XYZxyz(25.9258, 26.8030, 6.2901)
Luminance0.2680 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98A2D #2D4CA9
analogous
#A94C2D #A98A2D #8AA92D
triadic
#A98A2D #2DA98A #8A2DA9
tetradic
#A98A2D #2DA94C #2D4CA9 #A92D8A
square
#A98A2D #2DA94C #2D4CA9 #A92D8A
split-complementary
#A98A2D #2D8AA9 #4C2DA9
monochromatic
#483B13 #796320 #A98A2D #CEAC46 #DAC176

Accessibility & contrast

On white

3.30
#A98A2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#A98A2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A98A2D
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98A2D#FFFFFF#000000##000000
##A98A2D1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A881F
Deuteranopia (green-blind)
#A19132
Tritanopia (blue-blind)
#B77E77
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a98a2d;
/* rgb */ color: rgb(169, 138, 45);
/* oklch */ color: oklch(64.6% 0.115 89.9);
Tailwind
colors: {
  custom: {
    50: '#c6ab6c',
    500: '#a98a2d',
    950: '#000000',
  },
}
SCSS
$custom: #a98a2d;
$custom-light: #c6ab6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a98a2d",
  "rgb": {
    "r": 169,
    "g": 138,
    "b": 45
  },
  "hsl": {
    "h": 45,
    "s": 57.944,
    "l": 41.961
  },
  "oklch": {
    "l": 0.64551,
    "c": 0.11455,
    "h": 89.9
  },
  "luminance": 0.26801
}

Semantic roles & 50–950 ramp

primary
#A98A2D
secondary
#6F84C2
accent
#6DE147
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#141007
muted
#827F7A

Preview Lab

Preview with #A98A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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