#A98F22#A98F22

#A98F22 is a light, vivid yellow. Relative luminance 0.282; OKLCH L 65.5% C 0.124 H 94.7°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#A98F22
RGBrgb(169, 143, 34)
HSLhsl(48, 67%, 40%)
HSVhsv(48, 80%, 66%)
CMYKcmyk(0%, 15.4%, 79.9%, 33.7%)
CIE-LABlab(60.07, -1.33, 56.94)
CIE-LCHlch(60.07, 56.96, 91.34°)
OKLaboklab(65.54% -0.0101 0.1236)
OKLCHoklch(65.54% 0.124 94.7)
XYZxyz(26.4749, 28.1970, 5.5612)
Luminance0.2819 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98F22 #223CA9
analogous
#A94B22 #A98F22 #80A922
triadic
#A98F22 #22A98F #8F22A9
tetradic
#A98F22 #22A94B #223CA9 #A92280
square
#A98F22 #22A94B #223CA9 #A92280
split-complementary
#A98F22 #2280A9 #4B22A9
monochromatic
#43390D #766418 #A98F22 #D6B632 #E0C865

Accessibility & contrast

On white

3.16
#A98F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#A98F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A98F22
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98F22#FFFFFF#000000##000000
##A98F221.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C07
Deuteranopia (green-blind)
#A59429
Tritanopia (blue-blind)
#B7837B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a98f22;
/* rgb */ color: rgb(169, 143, 34);
/* oklch */ color: oklch(65.5% 0.124 94.7);
Tailwind
colors: {
  custom: {
    50: '#c7af67',
    500: '#a98f22',
    950: '#000000',
  },
}
SCSS
$custom: #a98f22;
$custom-light: #c7af67;
$custom-dark: #000000;
JSON
{
  "hex": "#a98f22",
  "rgb": {
    "r": 169,
    "g": 143,
    "b": 34
  },
  "hsl": {
    "h": 48.444,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.65535,
    "c": 0.12401,
    "h": 94.7
  },
  "luminance": 0.28195
}

Semantic roles & 50–950 ramp

primary
#A98F22
secondary
#6175C5
accent
#5FE93E
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141006
muted
#827F7A

Preview Lab

Preview with #A98F22

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

Preview Lab → · Contrast checker → · Palette generator →

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