#A98D21#A98D21

#A98D21 is a light, vivid yellow. Relative luminance 0.276; OKLCH L 65.1% C 0.123 H 93.3°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#A98D21
RGBrgb(169, 141, 33)
HSLhsl(48, 67%, 40%)
HSVhsv(48, 80%, 66%)
CMYKcmyk(0%, 16.6%, 80.5%, 33.7%)
CIE-LABlab(59.52, -0.27, 56.79)
CIE-LCHlch(59.52, 56.79, 90.28°)
OKLaboklab(65.1% -0.0072 0.1231)
OKLCHoklch(65.1% 0.123 93.3)
XYZxyz(26.1631, 27.5962, 5.3871)
Luminance0.2759 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98D21 #213DA9
analogous
#A94921 #A98D21 #81A921
triadic
#A98D21 #21A98D #8D21A9
tetradic
#A98D21 #21A949 #213DA9 #A92181
square
#A98D21 #21A949 #213DA9 #A92181
split-complementary
#A98D21 #2181A9 #4921A9
monochromatic
#43380D #766217 #A98D21 #D7B431 #E1C764

Accessibility & contrast

On white

3.22
#A98D21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#A98D21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A98D21
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98D21#FFFFFF#000000##000000
##A98D211.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B05
Deuteranopia (green-blind)
#A49328
Tritanopia (blue-blind)
#B78179
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a98d21;
/* rgb */ color: rgb(169, 141, 33);
/* oklch */ color: oklch(65.1% 0.123 93.3);
Tailwind
colors: {
  custom: {
    50: '#c7ad66',
    500: '#a98d21',
    950: '#000000',
  },
}
SCSS
$custom: #a98d21;
$custom-light: #c7ad66;
$custom-dark: #000000;
JSON
{
  "hex": "#a98d21",
  "rgb": {
    "r": 169,
    "g": 141,
    "b": 33
  },
  "hsl": {
    "h": 47.647,
    "s": 67.327,
    "l": 39.608
  },
  "oklch": {
    "l": 0.65104,
    "c": 0.12326,
    "h": 93.3
  },
  "luminance": 0.27595
}

Semantic roles & 50–950 ramp

primary
#A98D21
secondary
#6075C6
accent
#61EA3E
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141006
muted
#827F7A

Preview Lab

Preview with #A98D21

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

Preview Lab → · Contrast checker → · Palette generator →

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