#A98B31#A98B31

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

Color values

HEX#A98B31
RGBrgb(169, 139, 49)
HSLhsl(45, 55%, 43%)
HSVhsv(45, 71%, 66%)
CMYKcmyk(0%, 17.8%, 71%, 33.7%)
CIE-LABlab(59.09, 1.54, 50.26)
CIE-LCHlch(59.09, 50.28, 88.24°)
OKLaboklab(64.79% -0.0002 0.1124)
OKLCHoklch(64.79% 0.112 90.1)
XYZxyz(26.1506, 27.1236, 6.7631)
Luminance0.2712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98B31 #314FA9
analogous
#A94F31 #A98B31 #8BA931
triadic
#A98B31 #31A98B #8B31A9
tetradic
#A98B31 #31A94F #314FA9 #A9318B
square
#A98B31 #31A94F #314FA9 #A9318B
split-complementary
#A98B31 #318BA9 #4F31A9
monochromatic
#4A3D15 #7A6423 #A98B31 #CBAB4C #D9C27C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A98B31#FFFFFF#000000##000000
##A98B311.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)
#9B8925
Deuteranopia (green-blind)
#A29235
Tritanopia (blue-blind)
#B77F79
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a98b31;
/* rgb */ color: rgb(169, 139, 49);
/* oklch */ color: oklch(64.8% 0.112 90.1);
Tailwind
colors: {
  custom: {
    50: '#c6ac6e',
    500: '#a98b31',
    950: '#000000',
  },
}
SCSS
$custom: #a98b31;
$custom-light: #c6ac6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a98b31",
  "rgb": {
    "r": 169,
    "g": 139,
    "b": 49
  },
  "hsl": {
    "h": 45,
    "s": 55.046,
    "l": 42.745
  },
  "oklch": {
    "l": 0.64794,
    "c": 0.11239,
    "h": 90.1
  },
  "luminance": 0.27122
}

Semantic roles & 50–950 ramp

primary
#A98B31
secondary
#7488C1
accent
#6FDE49
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A98B31

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

Preview Lab → · Contrast checker → · Palette generator →

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