#A98B22#A98B22

#A98B22 is a light, vivid yellow. Relative luminance 0.270; OKLCH L 64.7% C 0.122 H 91.8°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#A98B22
RGBrgb(169, 139, 34)
HSLhsl(47, 67%, 40%)
HSVhsv(47, 80%, 66%)
CMYKcmyk(0%, 17.8%, 79.9%, 33.7%)
CIE-LABlab(58.99, 0.86, 55.97)
CIE-LCHlch(58.99, 55.98, 89.12°)
OKLaboklab(64.69% -0.0039 0.1215)
OKLCHoklch(64.69% 0.122 91.8)
XYZxyz(25.8851, 27.0174, 5.3645)
Luminance0.2702 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98B22 #2240A9
analogous
#A94822 #A98B22 #83A922
triadic
#A98B22 #22A98B #8B22A9
tetradic
#A98B22 #22A948 #2240A9 #A92283
square
#A98B22 #22A948 #2240A9 #A92283
split-complementary
#A98B22 #2283A9 #4822A9
monochromatic
#43370D #766118 #A98B22 #D6B232 #E0C565

Accessibility & contrast

On white

3.28
#A98B22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#A98B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A98B22
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98B22#FFFFFF#000000##000000
##A98B221.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8909
Deuteranopia (green-blind)
#A39229
Tritanopia (blue-blind)
#B77F77
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a98b22;
/* rgb */ color: rgb(169, 139, 34);
/* oklch */ color: oklch(64.7% 0.122 91.8);
Tailwind
colors: {
  custom: {
    50: '#c7ac66',
    500: '#a98b22',
    950: '#000000',
  },
}
SCSS
$custom: #a98b22;
$custom-light: #c7ac66;
$custom-dark: #000000;
JSON
{
  "hex": "#a98b22",
  "rgb": {
    "r": 169,
    "g": 139,
    "b": 34
  },
  "hsl": {
    "h": 46.667,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.64686,
    "c": 0.12157,
    "h": 91.8
  },
  "luminance": 0.27016
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A98B22

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

Preview Lab → · Contrast checker → · Palette generator →

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