#A98C1C#A98C1C

#A98C1C is a light, vivid yellow. Relative luminance 0.273; OKLCH L 64.9% C 0.125 H 93.0°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#A98C1C
RGBrgb(169, 140, 28)
HSLhsl(48, 72%, 39%)
HSVhsv(48, 83%, 66%)
CMYKcmyk(0%, 17.2%, 83.4%, 33.7%)
CIE-LABlab(59.23, 0.11, 58.10)
CIE-LCHlch(59.23, 58.10, 89.89°)
OKLaboklab(64.86% -0.0066 0.1248)
OKLCHoklch(64.86% 0.125 93)
XYZxyz(25.9514, 27.2766, 4.9964)
Luminance0.2727 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98C1C #1C39A9
analogous
#A9461C #A98C1C #7FA91C
triadic
#A98C1C #1CA98C #8C1CA9
tetradic
#A98C1C #1CA946 #1C39A9 #A91C7F
square
#A98C1C #1CA946 #1C39A9 #A91C7F
split-complementary
#A98C1C #1C7FA9 #461CA9
monochromatic
#40350B #746113 #A98C1C #DBB627 #E4C85B

Accessibility & contrast

On white

3.25
#A98C1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#A98C1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A98C1C
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98C1C#FFFFFF#000000##000000
##A98C1C1.003.256.456.45
#FFFFFF3.251.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A00
Deuteranopia (green-blind)
#A49224
Tritanopia (blue-blind)
#B78078
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a98c1c;
/* rgb */ color: rgb(169, 140, 28);
/* oklch */ color: oklch(64.9% 0.125 93.0);
Tailwind
colors: {
  custom: {
    50: '#c7ad64',
    500: '#a98c1c',
    950: '#000000',
  },
}
SCSS
$custom: #a98c1c;
$custom-light: #c7ad64;
$custom-dark: #000000;
JSON
{
  "hex": "#a98c1c",
  "rgb": {
    "r": 169,
    "g": 140,
    "b": 28
  },
  "hsl": {
    "h": 47.66,
    "s": 71.574,
    "l": 38.627
  },
  "oklch": {
    "l": 0.64865,
    "c": 0.125,
    "h": 93
  },
  "luminance": 0.27275
}

Semantic roles & 50–950 ramp

primary
#A98C1C
secondary
#5970C8
accent
#5FEE39
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141006
muted
#827F7A

Preview Lab

Preview with #A98C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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