#A98B2C#A98B2C

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

Color values

HEX#A98B2C
RGBrgb(169, 139, 44)
HSLhsl(46, 59%, 42%)
HSVhsv(46, 74%, 66%)
CMYKcmyk(0%, 17.8%, 74%, 33.7%)
CIE-LABlab(59.05, 1.29, 52.30)
CIE-LCHlch(59.05, 52.32, 88.59°)
OKLaboklab(64.75% -0.0016 0.1158)
OKLCHoklch(64.75% 0.116 90.8)
XYZxyz(26.0509, 27.0837, 6.2379)
Luminance0.2708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98B2C #2C4AA9
analogous
#A94D2C #A98B2C #89A92C
triadic
#A98B2C #2CA98B #8B2CA9
tetradic
#A98B2C #2CA94D #2C4AA9 #A92C89
square
#A98B2C #2CA94D #2C4AA9 #A92C89
split-complementary
#A98B2C #2C89A9 #4D2CA9
monochromatic
#483B13 #78631F #A98B2C #CEAD44 #DBC274

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A98B2C#FFFFFF#000000##000000
##A98B2C1.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)
#9B891D
Deuteranopia (green-blind)
#A29231
Tritanopia (blue-blind)
#B77F78
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a98b2c;
/* rgb */ color: rgb(169, 139, 44);
/* oklch */ color: oklch(64.8% 0.116 90.8);
Tailwind
colors: {
  custom: {
    50: '#c6ac6c',
    500: '#a98b2c',
    950: '#000000',
  },
}
SCSS
$custom: #a98b2c;
$custom-light: #c6ac6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a98b2c",
  "rgb": {
    "r": 169,
    "g": 139,
    "b": 44
  },
  "hsl": {
    "h": 45.6,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.64753,
    "c": 0.11577,
    "h": 90.8
  },
  "luminance": 0.27082
}

Semantic roles & 50–950 ramp

primary
#A98B2C
secondary
#6E82C3
accent
#6BE246
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#141007
muted
#827F7A

Preview Lab

Preview with #A98B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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