#A98F2C#A98F2C

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

Color values

HEX#A98F2C
RGBrgb(169, 143, 44)
HSLhsl(48, 59%, 42%)
HSVhsv(48, 74%, 66%)
CMYKcmyk(0%, 15.4%, 74%, 33.7%)
CIE-LABlab(60.13, -0.91, 53.35)
CIE-LCHlch(60.13, 53.36, 90.98°)
OKLaboklab(65.6% -0.0079 0.118)
OKLCHoklch(65.6% 0.118 93.8)
XYZxyz(26.6407, 28.2633, 6.4345)
Luminance0.2826 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98F2C #2C46A9
analogous
#A9512C #A98F2C #85A92C
triadic
#A98F2C #2CA98F #8F2CA9
tetradic
#A98F2C #2CA951 #2C46A9 #A92C85
square
#A98F2C #2CA951 #2C46A9 #A92C85
split-complementary
#A98F2C #2C85A9 #512CA9
monochromatic
#483D13 #78661F #A98F2C #CEB244 #DBC674

Accessibility & contrast

On white

3.16
#A98F2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#A98F2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A98F2C
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98F2C#FFFFFF#000000##000000
##A98F2C1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C1C
Deuteranopia (green-blind)
#A59432
Tritanopia (blue-blind)
#B7837B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a98f2c;
/* rgb */ color: rgb(169, 143, 44);
/* oklch */ color: oklch(65.6% 0.118 93.8);
Tailwind
colors: {
  custom: {
    50: '#c6af6c',
    500: '#a98f2c',
    950: '#000000',
  },
}
SCSS
$custom: #a98f2c;
$custom-light: #c6af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a98f2c",
  "rgb": {
    "r": 169,
    "g": 143,
    "b": 44
  },
  "hsl": {
    "h": 47.52,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.65601,
    "c": 0.11825,
    "h": 93.8
  },
  "luminance": 0.28262
}

Semantic roles & 50–950 ramp

primary
#A98F2C
secondary
#6E80C3
accent
#66E246
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#141007
muted
#827F7A

Preview Lab

Preview with #A98F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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