#A98B2E#A98B2E

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

Color values

HEX#A98B2E
RGBrgb(169, 139, 46)
HSLhsl(45, 57%, 42%)
HSVhsv(45, 73%, 66%)
CMYKcmyk(0%, 17.8%, 72.8%, 33.7%)
CIE-LABlab(59.07, 1.39, 51.50)
CIE-LCHlch(59.07, 51.52, 88.46°)
OKLaboklab(64.77% -0.001 0.1145)
OKLCHoklch(64.77% 0.114 90.5)
XYZxyz(26.0894, 27.0991, 6.4407)
Luminance0.2710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98B2E #2E4CA9
analogous
#A94E2E #A98B2E #89A92E
triadic
#A98B2E #2EA98B #8B2EA9
tetradic
#A98B2E #2EA94E #2E4CA9 #A92E89
square
#A98B2E #2EA94E #2E4CA9 #A92E89
split-complementary
#A98B2E #2E89A9 #4E2EA9
monochromatic
#493C14 #796321 #A98B2E #CDAC47 #DAC277

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A98B2E#FFFFFF#000000##000000
##A98B2E1.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)
#9B8920
Deuteranopia (green-blind)
#A29233
Tritanopia (blue-blind)
#B77F78
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a98b2e;
/* rgb */ color: rgb(169, 139, 46);
/* oklch */ color: oklch(64.8% 0.114 90.5);
Tailwind
colors: {
  custom: {
    50: '#c6ac6d',
    500: '#a98b2e',
    950: '#000000',
  },
}
SCSS
$custom: #a98b2e;
$custom-light: #c6ac6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a98b2e",
  "rgb": {
    "r": 169,
    "g": 139,
    "b": 46
  },
  "hsl": {
    "h": 45.366,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.64769,
    "c": 0.11445,
    "h": 90.5
  },
  "luminance": 0.27098
}

Semantic roles & 50–950 ramp

primary
#A98B2E
secondary
#7185C2
accent
#6DE047
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#141007
muted
#827F7A

Preview Lab

Preview with #A98B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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