#A98F2B#A98F2B

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

Color values

HEX#A98F2B
RGBrgb(169, 143, 43)
HSLhsl(48, 59%, 42%)
HSVhsv(48, 75%, 66%)
CMYKcmyk(0%, 15.4%, 74.6%, 33.7%)
CIE-LABlab(60.12, -0.96, 53.73)
CIE-LCHlch(60.12, 53.74, 91.02°)
OKLaboklab(65.59% -0.0081 0.1186)
OKLCHoklch(65.59% 0.119 93.9)
XYZxyz(26.6221, 28.2559, 6.3367)
Luminance0.2825 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98F2B #2B45A9
analogous
#A9502B #A98F2B #84A92B
triadic
#A98F2B #2BA98F #8F2BA9
tetradic
#A98F2B #2BA950 #2B45A9 #A92B84
square
#A98F2B #2BA950 #2B45A9 #A92B84
split-complementary
#A98F2B #2B84A9 #502BA9
monochromatic
#473C12 #78661F #A98F2B #CFB242 #DBC673

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A98F2B#FFFFFF#000000##000000
##A98F2B1.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)
#9F8C1B
Deuteranopia (green-blind)
#A59431
Tritanopia (blue-blind)
#B7837B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a98f2b;
/* rgb */ color: rgb(169, 143, 43);
/* oklch */ color: oklch(65.6% 0.119 93.9);
Tailwind
colors: {
  custom: {
    50: '#c6af6b',
    500: '#a98f2b',
    950: '#000000',
  },
}
SCSS
$custom: #a98f2b;
$custom-light: #c6af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a98f2b",
  "rgb": {
    "r": 169,
    "g": 143,
    "b": 43
  },
  "hsl": {
    "h": 47.619,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.65594,
    "c": 0.11889,
    "h": 93.9
  },
  "luminance": 0.28254
}

Semantic roles & 50–950 ramp

primary
#A98F2B
secondary
#6D7FC3
accent
#66E345
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#141007
muted
#827F7A

Preview Lab

Preview with #A98F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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