#A98F2F#A98F2F

#A98F2F is a light, moderate yellow. Relative luminance 0.283; OKLCH L 65.6% C 0.116 H 93.5°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#A98F2F
RGBrgb(169, 143, 47)
HSLhsl(47, 56%, 42%)
HSVhsv(47, 72%, 66%)
CMYKcmyk(0%, 15.4%, 72.2%, 33.7%)
CIE-LABlab(60.15, -0.76, 52.16)
CIE-LCHlch(60.15, 52.17, 90.84°)
OKLaboklab(65.63% -0.0071 0.1161)
OKLCHoklch(65.63% 0.116 93.5)
XYZxyz(26.6991, 28.2867, 6.7424)
Luminance0.2828 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98F2F #2F49A9
analogous
#A9522F #A98F2F #86A92F
triadic
#A98F2F #2FA98F #8F2FA9
tetradic
#A98F2F #2FA952 #2F49A9 #A92F86
square
#A98F2F #2FA952 #2F49A9 #A92F86
split-complementary
#A98F2F #2F86A9 #522FA9
monochromatic
#493E14 #796622 #A98F2F #CCB049 #DAC579

Accessibility & contrast

On white

3.15
#A98F2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#A98F2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A98F2F
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98F2F#FFFFFF#000000##000000
##A98F2F1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C21
Deuteranopia (green-blind)
#A59434
Tritanopia (blue-blind)
#B7837C
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a98f2f;
/* rgb */ color: rgb(169, 143, 47);
/* oklch */ color: oklch(65.6% 0.116 93.5);
Tailwind
colors: {
  custom: {
    50: '#c6af6e',
    500: '#a98f2f',
    950: '#000000',
  },
}
SCSS
$custom: #a98f2f;
$custom-light: #c6af6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a98f2f",
  "rgb": {
    "r": 169,
    "g": 143,
    "b": 47
  },
  "hsl": {
    "h": 47.213,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.65625,
    "c": 0.11627,
    "h": 93.5
  },
  "luminance": 0.28285
}

Semantic roles & 50–950 ramp

primary
#A98F2F
secondary
#7283C2
accent
#68E048
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A98F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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