#A98F1C#A98F1C

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

Color values

HEX#A98F1C
RGBrgb(169, 143, 28)
HSLhsl(49, 72%, 39%)
HSVhsv(49, 83%, 66%)
CMYKcmyk(0%, 15.4%, 83.4%, 33.7%)
CIE-LABlab(60.04, -1.54, 58.80)
CIE-LCHlch(60.04, 58.82, 91.50°)
OKLaboklab(65.5% -0.0112 0.1263)
OKLCHoklch(65.5% 0.127 95.1)
XYZxyz(26.3958, 28.1653, 5.1445)
Luminance0.2816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98F1C #1C36A9
analogous
#A9481C #A98F1C #7CA91C
triadic
#A98F1C #1CA98F #8F1CA9
tetradic
#A98F1C #1CA948 #1C36A9 #A91C7C
square
#A98F1C #1CA948 #1C36A9 #A91C7C
split-complementary
#A98F1C #1C7CA9 #481CA9
monochromatic
#40360B #746313 #A98F1C #DBBA27 #E4CB5B

Accessibility & contrast

On white

3.17
#A98F1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#A98F1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A98F1C
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98F1C#FFFFFF#000000##000000
##A98F1C1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#A69425
Tritanopia (blue-blind)
#B7837A
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a98f1c;
/* rgb */ color: rgb(169, 143, 28);
/* oklch */ color: oklch(65.5% 0.127 95.1);
Tailwind
colors: {
  custom: {
    50: '#c7af64',
    500: '#a98f1c',
    950: '#000000',
  },
}
SCSS
$custom: #a98f1c;
$custom-light: #c7af64;
$custom-dark: #000000;
JSON
{
  "hex": "#a98f1c",
  "rgb": {
    "r": 169,
    "g": 143,
    "b": 28
  },
  "hsl": {
    "h": 48.936,
    "s": 71.574,
    "l": 38.627
  },
  "oklch": {
    "l": 0.65504,
    "c": 0.12684,
    "h": 95.1
  },
  "luminance": 0.28164
}

Semantic roles & 50–950 ramp

primary
#A98F1C
secondary
#596DC8
accent
#5BEE39
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141006
muted
#827F7A

Preview Lab

Preview with #A98F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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