#A98F2D#A98F2D

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

Color values

HEX#A98F2D
RGBrgb(169, 143, 45)
HSLhsl(47, 58%, 42%)
HSVhsv(47, 73%, 66%)
CMYKcmyk(0%, 15.4%, 73.4%, 33.7%)
CIE-LABlab(60.13, -0.86, 52.96)
CIE-LCHlch(60.13, 52.97, 90.93°)
OKLaboklab(65.61% -0.0076 0.1174)
OKLCHoklch(65.61% 0.118 93.7)
XYZxyz(26.6597, 28.2709, 6.5347)
Luminance0.2827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98F2D #2D47A9
analogous
#A9512D #A98F2D #85A92D
triadic
#A98F2D #2DA98F #8F2DA9
tetradic
#A98F2D #2DA951 #2D47A9 #A92D85
square
#A98F2D #2DA951 #2D47A9 #A92D85
split-complementary
#A98F2D #2D85A9 #512DA9
monochromatic
#483D13 #796620 #A98F2D #CEB146 #DAC576

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A98F2D#FFFFFF#000000##000000
##A98F2D1.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)
#9E8C1E
Deuteranopia (green-blind)
#A59433
Tritanopia (blue-blind)
#B7837B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a98f2d;
/* rgb */ color: rgb(169, 143, 45);
/* oklch */ color: oklch(65.6% 0.118 93.7);
Tailwind
colors: {
  custom: {
    50: '#c6af6d',
    500: '#a98f2d',
    950: '#000000',
  },
}
SCSS
$custom: #a98f2d;
$custom-light: #c6af6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a98f2d",
  "rgb": {
    "r": 169,
    "g": 143,
    "b": 45
  },
  "hsl": {
    "h": 47.419,
    "s": 57.944,
    "l": 41.961
  },
  "oklch": {
    "l": 0.65609,
    "c": 0.1176,
    "h": 93.7
  },
  "luminance": 0.28269
}

Semantic roles & 50–950 ramp

primary
#A98F2D
secondary
#6F81C2
accent
#67E147
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A98F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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