#A8A281#A8A281

#A8A281 is a light, muted yellow. Relative luminance 0.357; OKLCH L 70.9% C 0.046 H 98.9°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#A8A281
RGBrgb(168, 162, 129)
HSLhsl(51, 18%, 58%)
HSVhsv(51, 23%, 66%)
CMYKcmyk(0%, 3.6%, 23.2%, 34.1%)
CIE-LABlab(66.33, -3.33, 17.99)
CIE-LCHlch(66.33, 18.29, 100.50°)
OKLaboklab(70.86% -0.0071 0.0458)
OKLCHoklch(70.86% 0.046 98.9)
XYZxyz(33.0312, 35.7510, 25.9252)
Luminance0.3575 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A281 #8187A8
analogous
#A88E81 #A8A281 #9AA881
triadic
#A8A281 #81A8A2 #A281A8
tetradic
#A8A281 #81A88E #8187A8 #A8819A
square
#A8A281 #81A88E #8187A8 #A8819A
split-complementary
#A8A281 #819AA8 #8E81A8
monochromatic
#676247 #8B8560 #A8A281 #C1BDA5 #DAD7C9

Accessibility & contrast

On white

2.58
#A8A281 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#A8A281 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A281
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A281#FFFFFF#000000##000000
##A8A2811.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9A07F
Deuteranopia (green-blind)
#ABA282
Tritanopia (blue-blind)
#AE9D99
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a8a281;
/* rgb */ color: rgb(168, 162, 129);
/* oklch */ color: oklch(70.9% 0.046 98.9);
Tailwind
colors: {
  custom: {
    50: '#c2bda5',
    500: '#a8a281',
    950: '#000000',
  },
}
SCSS
$custom: #a8a281;
$custom-light: #c2bda5;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a281",
  "rgb": {
    "r": 168,
    "g": 162,
    "b": 129
  },
  "hsl": {
    "h": 50.769,
    "s": 18.31,
    "l": 58.235
  },
  "oklch": {
    "l": 0.70857,
    "c": 0.04638,
    "h": 98.9
  },
  "luminance": 0.3575
}

Semantic roles & 50–950 ramp

primary
#A8A281
secondary
#BBBDCA
accent
#79BB6D
background
#FBFBFA
surface
#F7F6F4
border
#D0D0CE
text
#12120F
muted
#81817F

Preview Lab

Preview with #A8A281

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

Preview Lab → · Contrast checker → · Palette generator →

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