#A98E1C#A98E1C

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

Color values

HEX#A98E1C
RGBrgb(169, 142, 28)
HSLhsl(49, 72%, 39%)
HSVhsv(49, 83%, 66%)
CMYKcmyk(0%, 16%, 83.4%, 33.7%)
CIE-LABlab(59.77, -0.99, 58.57)
CIE-LCHlch(59.77, 58.57, 90.97°)
OKLaboklab(65.29% -0.0097 0.1258)
OKLCHoklch(65.29% 0.126 94.4)
XYZxyz(26.2463, 27.8664, 5.0947)
Luminance0.2787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98E1C #1C37A9
analogous
#A9471C #A98E1C #7DA91C
triadic
#A98E1C #1CA98E #8E1CA9
tetradic
#A98E1C #1CA947 #1C37A9 #A91C7D
square
#A98E1C #1CA947 #1C37A9 #A91C7D
split-complementary
#A98E1C #1C7DA9 #471CA9
monochromatic
#40360B #746213 #A98E1C #DBB927 #E4CA5B

Accessibility & contrast

On white

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

On black

6.57
#A98E1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A98E1C
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98E1C#FFFFFF#000000##000000
##A98E1C1.003.196.576.57
#FFFFFF3.191.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#A59325
Tritanopia (blue-blind)
#B78279
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a98e1c;
/* rgb */ color: rgb(169, 142, 28);
/* oklch */ color: oklch(65.3% 0.126 94.4);
Tailwind
colors: {
  custom: {
    50: '#c7ae64',
    500: '#a98e1c',
    950: '#000000',
  },
}
SCSS
$custom: #a98e1c;
$custom-light: #c7ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#a98e1c",
  "rgb": {
    "r": 169,
    "g": 142,
    "b": 28
  },
  "hsl": {
    "h": 48.511,
    "s": 71.574,
    "l": 38.627
  },
  "oklch": {
    "l": 0.6529,
    "c": 0.12621,
    "h": 94.4
  },
  "luminance": 0.27865
}

Semantic roles & 50–950 ramp

primary
#A98E1C
secondary
#596EC8
accent
#5CEE39
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141006
muted
#827F7A

Preview Lab

Preview with #A98E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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