#A98E21#A98E21

#A98E21 is a light, vivid yellow. Relative luminance 0.279; OKLCH L 65.3% C 0.124 H 94.1°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#A98E21
RGBrgb(169, 142, 33)
HSLhsl(48, 67%, 40%)
HSVhsv(48, 80%, 66%)
CMYKcmyk(0%, 16%, 80.5%, 33.7%)
CIE-LABlab(59.79, -0.82, 57.03)
CIE-LCHlch(59.79, 57.03, 90.83°)
OKLaboklab(65.32% -0.0088 0.1236)
OKLCHoklch(65.32% 0.124 94.1)
XYZxyz(26.3112, 27.8924, 5.4365)
Luminance0.2789 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98E21 #213CA9
analogous
#A94A21 #A98E21 #80A921
triadic
#A98E21 #21A98E #8E21A9
tetradic
#A98E21 #21A94A #213CA9 #A92180
square
#A98E21 #21A94A #213CA9 #A92180
split-complementary
#A98E21 #2180A9 #4A21A9
monochromatic
#43380D #766317 #A98E21 #D7B631 #E1C864

Accessibility & contrast

On white

3.19
#A98E21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#A98E21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A98E21
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98E21#FFFFFF#000000##000000
##A98E211.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B05
Deuteranopia (green-blind)
#A59328
Tritanopia (blue-blind)
#B7827A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a98e21;
/* rgb */ color: rgb(169, 142, 33);
/* oklch */ color: oklch(65.3% 0.124 94.1);
Tailwind
colors: {
  custom: {
    50: '#c7ae66',
    500: '#a98e21',
    950: '#000000',
  },
}
SCSS
$custom: #a98e21;
$custom-light: #c7ae66;
$custom-dark: #000000;
JSON
{
  "hex": "#a98e21",
  "rgb": {
    "r": 169,
    "g": 142,
    "b": 33
  },
  "hsl": {
    "h": 48.088,
    "s": 67.327,
    "l": 39.608
  },
  "oklch": {
    "l": 0.65316,
    "c": 0.12388,
    "h": 94.1
  },
  "luminance": 0.27891
}

Semantic roles & 50–950 ramp

primary
#A98E21
secondary
#6074C6
accent
#60EA3E
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141006
muted
#827F7A

Preview Lab

Preview with #A98E21

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

Preview Lab → · Contrast checker → · Palette generator →

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