#A98D28#A98D28

#A98D28 is a light, moderate yellow. Relative luminance 0.276; OKLCH L 65.1% C 0.119 H 92.7°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#A98D28
RGBrgb(169, 141, 40)
HSLhsl(47, 62%, 41%)
HSVhsv(47, 76%, 66%)
CMYKcmyk(0%, 16.6%, 76.3%, 33.7%)
CIE-LABlab(59.56, 0.00, 54.35)
CIE-LCHlch(59.56, 54.35, 90.00°)
OKLaboklab(65.15% -0.0057 0.1193)
OKLCHoklch(65.15% 0.119 92.7)
XYZxyz(26.2715, 27.6395, 5.9583)
Luminance0.2764 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98D28 #2844A9
analogous
#A94D28 #A98D28 #84A928
triadic
#A98D28 #28A98D #8D28A9
tetradic
#A98D28 #28A94D #2844A9 #A92884
square
#A98D28 #28A94D #2844A9 #A92884
split-complementary
#A98D28 #2884A9 #4D28A9
monochromatic
#463A11 #78641C #A98D28 #D1B13D #DDC56F

Accessibility & contrast

On white

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

On black

6.53
#A98D28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A98D28
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98D28#FFFFFF#000000##000000
##A98D281.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a98d28;
/* rgb */ color: rgb(169, 141, 40);
/* oklch */ color: oklch(65.1% 0.119 92.7);
Tailwind
colors: {
  custom: {
    50: '#c7ae6a',
    500: '#a98d28',
    950: '#000000',
  },
}
SCSS
$custom: #a98d28;
$custom-light: #c7ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#a98d28",
  "rgb": {
    "r": 169,
    "g": 141,
    "b": 40
  },
  "hsl": {
    "h": 46.977,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.65148,
    "c": 0.11944,
    "h": 92.7
  },
  "luminance": 0.27638
}

Semantic roles & 50–950 ramp

primary
#A98D28
secondary
#697DC4
accent
#66E543
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141007
muted
#827F7A

Preview Lab

Preview with #A98D28

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

Preview Lab → · Contrast checker → · Palette generator →

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