#A98A22#A98A22

#A98A22 is a light, vivid yellow. Relative luminance 0.267; OKLCH L 64.5% C 0.121 H 91.1°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#A98A22
RGBrgb(169, 138, 34)
HSLhsl(46, 67%, 40%)
HSVhsv(46, 80%, 66%)
CMYKcmyk(0%, 18.3%, 79.9%, 33.7%)
CIE-LABlab(58.72, 1.41, 55.73)
CIE-LCHlch(58.72, 55.75, 88.55°)
OKLaboklab(64.47% -0.0023 0.121)
OKLCHoklch(64.47% 0.121 91.1)
XYZxyz(25.7409, 26.7291, 5.3165)
Luminance0.2673 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98A22 #2241A9
analogous
#A94622 #A98A22 #85A922
triadic
#A98A22 #22A98A #8A22A9
tetradic
#A98A22 #22A946 #2241A9 #A92285
square
#A98A22 #22A946 #2241A9 #A92285
split-complementary
#A98A22 #2285A9 #4622A9
monochromatic
#43370D #766018 #A98A22 #D6B032 #E0C465

Accessibility & contrast

On white

3.31
#A98A22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#A98A22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A98A22
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98A22#FFFFFF#000000##000000
##A98A221.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A880A
Deuteranopia (green-blind)
#A29129
Tritanopia (blue-blind)
#B77E76
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a98a22;
/* rgb */ color: rgb(169, 138, 34);
/* oklch */ color: oklch(64.5% 0.121 91.1);
Tailwind
colors: {
  custom: {
    50: '#c7ab66',
    500: '#a98a22',
    950: '#000000',
  },
}
SCSS
$custom: #a98a22;
$custom-light: #c7ab66;
$custom-dark: #000000;
JSON
{
  "hex": "#a98a22",
  "rgb": {
    "r": 169,
    "g": 138,
    "b": 34
  },
  "hsl": {
    "h": 46.222,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.64474,
    "c": 0.12101,
    "h": 91.1
  },
  "luminance": 0.26727
}

Semantic roles & 50–950 ramp

primary
#A98A22
secondary
#6178C5
accent
#66E93E
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141006
muted
#827F7A

Preview Lab

Preview with #A98A22

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

Preview Lab → · Contrast checker → · Palette generator →

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