#A98D1C#A98D1C

#A98D1C is a light, vivid yellow. Relative luminance 0.276; OKLCH L 65.1% C 0.126 H 93.7°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#A98D1C
RGBrgb(169, 141, 28)
HSLhsl(48, 72%, 39%)
HSVhsv(48, 83%, 66%)
CMYKcmyk(0%, 16.6%, 83.4%, 33.7%)
CIE-LABlab(59.50, -0.44, 58.33)
CIE-LCHlch(59.50, 58.34, 90.43°)
OKLaboklab(65.08% -0.0081 0.1253)
OKLCHoklch(65.08% 0.126 93.7)
XYZxyz(26.0982, 27.5702, 5.0453)
Luminance0.2757 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98D1C #1C38A9
analogous
#A9461C #A98D1C #7EA91C
triadic
#A98D1C #1CA98D #8D1CA9
tetradic
#A98D1C #1CA946 #1C38A9 #A91C7E
square
#A98D1C #1CA946 #1C38A9 #A91C7E
split-complementary
#A98D1C #1C7EA9 #461CA9
monochromatic
#40350B #746113 #A98D1C #DBB727 #E4C95B

Accessibility & contrast

On white

3.22
#A98D1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#A98D1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A98D1C
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98D1C#FFFFFF#000000##000000
##A98D1C1.003.226.516.51
#FFFFFF3.221.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#A49324
Tritanopia (blue-blind)
#B78179
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a98d1c;
/* rgb */ color: rgb(169, 141, 28);
/* oklch */ color: oklch(65.1% 0.126 93.7);
Tailwind
colors: {
  custom: {
    50: '#c7ad64',
    500: '#a98d1c',
    950: '#000000',
  },
}
SCSS
$custom: #a98d1c;
$custom-light: #c7ad64;
$custom-dark: #000000;
JSON
{
  "hex": "#a98d1c",
  "rgb": {
    "r": 169,
    "g": 141,
    "b": 28
  },
  "hsl": {
    "h": 48.085,
    "s": 71.574,
    "l": 38.627
  },
  "oklch": {
    "l": 0.65077,
    "c": 0.12559,
    "h": 93.7
  },
  "luminance": 0.27569
}

Semantic roles & 50–950 ramp

primary
#A98D1C
secondary
#596FC8
accent
#5DEE39
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141006
muted
#827F7A

Preview Lab

Preview with #A98D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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