#A98F20#A98F20

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

Color values

HEX#A98F20
RGBrgb(169, 143, 32)
HSLhsl(49, 68%, 39%)
HSVhsv(49, 81%, 66%)
CMYKcmyk(0%, 15.4%, 81.1%, 33.7%)
CIE-LABlab(60.06, -1.40, 57.59)
CIE-LCHlch(60.06, 57.61, 91.40°)
OKLaboklab(65.52% -0.0105 0.1246)
OKLCHoklch(65.52% 0.125 94.8)
XYZxyz(26.4468, 28.1858, 5.4136)
Luminance0.2818 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98F20 #203AA9
analogous
#A94B20 #A98F20 #7FA920
triadic
#A98F20 #20A98F #8F20A9
tetradic
#A98F20 #20A94B #203AA9 #A9207F
square
#A98F20 #20A94B #203AA9 #A9207F
split-complementary
#A98F20 #207FA9 #4B20A9
monochromatic
#42380D #766316 #A98F20 #D8B72F #E1C962

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A98F20#FFFFFF#000000##000000
##A98F201.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)
#9F8C01
Deuteranopia (green-blind)
#A69428
Tritanopia (blue-blind)
#B7837A
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a98f20;
/* rgb */ color: rgb(169, 143, 32);
/* oklch */ color: oklch(65.5% 0.125 94.8);
Tailwind
colors: {
  custom: {
    50: '#c7af66',
    500: '#a98f20',
    950: '#000000',
  },
}
SCSS
$custom: #a98f20;
$custom-light: #c7af66;
$custom-dark: #000000;
JSON
{
  "hex": "#a98f20",
  "rgb": {
    "r": 169,
    "g": 143,
    "b": 32
  },
  "hsl": {
    "h": 48.613,
    "s": 68.159,
    "l": 39.412
  },
  "oklch": {
    "l": 0.65524,
    "c": 0.125,
    "h": 94.8
  },
  "luminance": 0.28184
}

Semantic roles & 50–950 ramp

primary
#A98F20
secondary
#5F72C6
accent
#5EEB3D
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141006
muted
#827F7A

Preview Lab

Preview with #A98F20

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

Preview Lab → · Contrast checker → · Palette generator →

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