#A98C2F#A98C2F

#A98C2F is a light, moderate yellow. Relative luminance 0.274; OKLCH L 65.0% C 0.114 H 91.2°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#A98C2F
RGBrgb(169, 140, 47)
HSLhsl(46, 56%, 42%)
HSVhsv(46, 72%, 66%)
CMYKcmyk(0%, 17.2%, 72.2%, 33.7%)
CIE-LABlab(59.34, 0.89, 51.36)
CIE-LCHlch(59.34, 51.36, 89.01°)
OKLaboklab(64.99% -0.0024 0.1144)
OKLCHoklch(64.99% 0.114 91.2)
XYZxyz(26.2548, 27.3980, 6.5942)
Luminance0.2740 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98C2F #2F4CA9
analogous
#A94F2F #A98C2F #89A92F
triadic
#A98C2F #2FA98C #8C2FA9
tetradic
#A98C2F #2FA94F #2F4CA9 #A92F89
square
#A98C2F #2FA94F #2F4CA9 #A92F89
split-complementary
#A98C2F #2F89A9 #4F2FA9
monochromatic
#493D14 #796422 #A98C2F #CCAD49 #DAC379

Accessibility & contrast

On white

3.24
#A98C2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#A98C2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A98C2F
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98C2F#FFFFFF#000000##000000
##A98C2F1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A22
Deuteranopia (green-blind)
#A39234
Tritanopia (blue-blind)
#B78079
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a98c2f;
/* rgb */ color: rgb(169, 140, 47);
/* oklch */ color: oklch(65.0% 0.114 91.2);
Tailwind
colors: {
  custom: {
    50: '#c6ad6d',
    500: '#a98c2f',
    950: '#000000',
  },
}
SCSS
$custom: #a98c2f;
$custom-light: #c6ad6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a98c2f",
  "rgb": {
    "r": 169,
    "g": 140,
    "b": 47
  },
  "hsl": {
    "h": 45.738,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.64988,
    "c": 0.11437,
    "h": 91.2
  },
  "luminance": 0.27396
}

Semantic roles & 50–950 ramp

primary
#A98C2F
secondary
#7285C2
accent
#6CE048
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A98C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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