#A98C2D#A98C2D

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

Color values

HEX#A98C2D
RGBrgb(169, 140, 45)
HSLhsl(46, 58%, 42%)
HSVhsv(46, 73%, 66%)
CMYKcmyk(0%, 17.2%, 73.4%, 33.7%)
CIE-LABlab(59.33, 0.79, 52.16)
CIE-LCHlch(59.33, 52.17, 89.14°)
OKLaboklab(64.97% -0.0029 0.1157)
OKLCHoklch(64.97% 0.116 91.4)
XYZxyz(26.2154, 27.3822, 6.3866)
Luminance0.2738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98C2D #2D4AA9
analogous
#A94E2D #A98C2D #88A92D
triadic
#A98C2D #2DA98C #8C2DA9
tetradic
#A98C2D #2DA94E #2D4AA9 #A92D88
square
#A98C2D #2DA94E #2D4AA9 #A92D88
split-complementary
#A98C2D #2D88A9 #4E2DA9
monochromatic
#483C13 #796420 #A98C2D #CEAE46 #DAC376

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A98C2D#FFFFFF#000000##000000
##A98C2D1.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)
#9C8A1F
Deuteranopia (green-blind)
#A39232
Tritanopia (blue-blind)
#B78079
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a98c2d;
/* rgb */ color: rgb(169, 140, 45);
/* oklch */ color: oklch(65.0% 0.116 91.4);
Tailwind
colors: {
  custom: {
    50: '#c6ad6c',
    500: '#a98c2d',
    950: '#000000',
  },
}
SCSS
$custom: #a98c2d;
$custom-light: #c6ad6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a98c2d",
  "rgb": {
    "r": 169,
    "g": 140,
    "b": 45
  },
  "hsl": {
    "h": 45.968,
    "s": 57.944,
    "l": 41.961
  },
  "oklch": {
    "l": 0.64972,
    "c": 0.11571,
    "h": 91.4
  },
  "luminance": 0.27381
}

Semantic roles & 50–950 ramp

primary
#A98C2D
secondary
#6F83C2
accent
#6BE147
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#141007
muted
#827F7A

Preview Lab

Preview with #A98C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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