#A98E2F#A98E2F

#A98E2F is a light, moderate yellow. Relative luminance 0.280; OKLCH L 65.4% C 0.116 H 92.7°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#A98E2F
RGBrgb(169, 142, 47)
HSLhsl(47, 56%, 42%)
HSVhsv(47, 72%, 66%)
CMYKcmyk(0%, 16%, 72.2%, 33.7%)
CIE-LABlab(59.88, -0.21, 51.89)
CIE-LCHlch(59.88, 51.89, 90.23°)
OKLaboklab(65.41% -0.0055 0.1155)
OKLCHoklch(65.41% 0.116 92.7)
XYZxyz(26.5497, 27.9878, 6.6925)
Luminance0.2799 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98E2F #2F4AA9
analogous
#A9512F #A98E2F #87A92F
triadic
#A98E2F #2FA98E #8E2FA9
tetradic
#A98E2F #2FA951 #2F4AA9 #A92F87
square
#A98E2F #2FA951 #2F4AA9 #A92F87
split-complementary
#A98E2F #2F87A9 #512FA9
monochromatic
#493E14 #796622 #A98E2F #CCAF49 #DAC479

Accessibility & contrast

On white

3.18
#A98E2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#A98E2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A98E2F
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98E2F#FFFFFF#000000##000000
##A98E2F1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8C21
Deuteranopia (green-blind)
#A49434
Tritanopia (blue-blind)
#B7827B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a98e2f;
/* rgb */ color: rgb(169, 142, 47);
/* oklch */ color: oklch(65.4% 0.116 92.7);
Tailwind
colors: {
  custom: {
    50: '#c6ae6e',
    500: '#a98e2f',
    950: '#000000',
  },
}
SCSS
$custom: #a98e2f;
$custom-light: #c6ae6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a98e2f",
  "rgb": {
    "r": 169,
    "g": 142,
    "b": 47
  },
  "hsl": {
    "h": 46.721,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.65412,
    "c": 0.11561,
    "h": 92.7
  },
  "luminance": 0.27986
}

Semantic roles & 50–950 ramp

primary
#A98E2F
secondary
#7284C2
accent
#6AE048
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A98E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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