#A98E22#A98E22

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

Color values

HEX#A98E22
RGBrgb(169, 142, 34)
HSLhsl(48, 67%, 40%)
HSVhsv(48, 80%, 66%)
CMYKcmyk(0%, 16%, 79.9%, 33.7%)
CIE-LABlab(59.80, -0.79, 56.70)
CIE-LCHlch(59.80, 56.71, 90.79°)
OKLaboklab(65.32% -0.0086 0.1231)
OKLCHoklch(65.32% 0.123 94)
XYZxyz(26.3254, 27.8981, 5.5113)
Luminance0.2790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98E22 #223DA9
analogous
#A94B22 #A98E22 #81A922
triadic
#A98E22 #22A98E #8E22A9
tetradic
#A98E22 #22A94B #223DA9 #A92281
square
#A98E22 #22A94B #223DA9 #A92281
split-complementary
#A98E22 #2281A9 #4B22A9
monochromatic
#43380D #766318 #A98E22 #D6B532 #E0C865

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A98E22#FFFFFF#000000##000000
##A98E221.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)
#9E8B07
Deuteranopia (green-blind)
#A59329
Tritanopia (blue-blind)
#B7827A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a98e22;
/* rgb */ color: rgb(169, 142, 34);
/* oklch */ color: oklch(65.3% 0.123 94.0);
Tailwind
colors: {
  custom: {
    50: '#c7ae67',
    500: '#a98e22',
    950: '#000000',
  },
}
SCSS
$custom: #a98e22;
$custom-light: #c7ae67;
$custom-dark: #000000;
JSON
{
  "hex": "#a98e22",
  "rgb": {
    "r": 169,
    "g": 142,
    "b": 34
  },
  "hsl": {
    "h": 48,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.65322,
    "c": 0.12337,
    "h": 94
  },
  "luminance": 0.27897
}

Semantic roles & 50–950 ramp

primary
#A98E22
secondary
#6175C5
accent
#61E93E
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141006
muted
#827F7A

Preview Lab

Preview with #A98E22

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

Preview Lab → · Contrast checker → · Palette generator →

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