#A98F2E#A98F2E

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

Color values

HEX#A98F2E
RGBrgb(169, 143, 46)
HSLhsl(47, 57%, 42%)
HSVhsv(47, 73%, 66%)
CMYKcmyk(0%, 15.4%, 72.8%, 33.7%)
CIE-LABlab(60.14, -0.81, 52.56)
CIE-LCHlch(60.14, 52.57, 90.88°)
OKLaboklab(65.62% -0.0073 0.1167)
OKLCHoklch(65.62% 0.117 93.6)
XYZxyz(26.6792, 28.2787, 6.6373)
Luminance0.2828 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98F2E #2E48A9
analogous
#A9522E #A98F2E #86A92E
triadic
#A98F2E #2EA98F #8F2EA9
tetradic
#A98F2E #2EA952 #2E48A9 #A92E86
square
#A98F2E #2EA952 #2E48A9 #A92E86
split-complementary
#A98F2E #2E86A9 #522EA9
monochromatic
#493E14 #796621 #A98F2E #CDB147 #DAC577

Accessibility & contrast

On white

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

On black

6.66
#A98F2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A98F2E
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98F2E#FFFFFF#000000##000000
##A98F2E1.003.166.666.66
#FFFFFF3.161.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C1F
Deuteranopia (green-blind)
#A59433
Tritanopia (blue-blind)
#B7837C
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a98f2e;
/* rgb */ color: rgb(169, 143, 46);
/* oklch */ color: oklch(65.6% 0.117 93.6);
Tailwind
colors: {
  custom: {
    50: '#c6af6d',
    500: '#a98f2e',
    950: '#000000',
  },
}
SCSS
$custom: #a98f2e;
$custom-light: #c6af6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a98f2e",
  "rgb": {
    "r": 169,
    "g": 143,
    "b": 46
  },
  "hsl": {
    "h": 47.317,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.65617,
    "c": 0.11694,
    "h": 93.6
  },
  "luminance": 0.28277
}

Semantic roles & 50–950 ramp

primary
#A98F2E
secondary
#7182C2
accent
#68E047
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A98F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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