#A98B2D#A98B2D

#A98B2D is a light, moderate yellow. Relative luminance 0.271; OKLCH L 64.8% C 0.115 H 90.7°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#A98B2D
RGBrgb(169, 139, 45)
HSLhsl(45, 58%, 42%)
HSVhsv(45, 73%, 66%)
CMYKcmyk(0%, 17.8%, 73.4%, 33.7%)
CIE-LABlab(59.06, 1.34, 51.90)
CIE-LCHlch(59.06, 51.92, 88.52°)
OKLaboklab(64.76% -0.0013 0.1151)
OKLCHoklch(64.76% 0.115 90.7)
XYZxyz(26.0699, 27.0913, 6.3381)
Luminance0.2709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98B2D #2D4BA9
analogous
#A94D2D #A98B2D #89A92D
triadic
#A98B2D #2DA98B #8B2DA9
tetradic
#A98B2D #2DA94D #2D4BA9 #A92D89
square
#A98B2D #2DA94D #2D4BA9 #A92D89
split-complementary
#A98B2D #2D89A9 #4D2DA9
monochromatic
#483B13 #796320 #A98B2D #CEAD46 #DAC276

Accessibility & contrast

On white

3.27
#A98B2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#A98B2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A98B2D
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98B2D#FFFFFF#000000##000000
##A98B2D1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B891F
Deuteranopia (green-blind)
#A29232
Tritanopia (blue-blind)
#B77F78
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a98b2d;
/* rgb */ color: rgb(169, 139, 45);
/* oklch */ color: oklch(64.8% 0.115 90.7);
Tailwind
colors: {
  custom: {
    50: '#c6ac6c',
    500: '#a98b2d',
    950: '#000000',
  },
}
SCSS
$custom: #a98b2d;
$custom-light: #c6ac6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a98b2d",
  "rgb": {
    "r": 169,
    "g": 139,
    "b": 45
  },
  "hsl": {
    "h": 45.484,
    "s": 57.944,
    "l": 41.961
  },
  "oklch": {
    "l": 0.64761,
    "c": 0.11512,
    "h": 90.7
  },
  "luminance": 0.2709
}

Semantic roles & 50–950 ramp

primary
#A98B2D
secondary
#6F84C2
accent
#6CE147
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#141007
muted
#827F7A

Preview Lab

Preview with #A98B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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