#A8A257#A8A257

#A8A257 is a light, moderate yellow. Relative luminance 0.349; OKLCH L 70.1% C 0.097 H 104.6°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#A8A257
RGBrgb(168, 162, 87)
HSLhsl(56, 32%, 50%)
HSVhsv(56, 48%, 66%)
CMYKcmyk(0%, 3.6%, 48.2%, 34.1%)
CIE-LABlab(65.64, -8.48, 39.52)
CIE-LCHlch(65.64, 40.42, 102.11°)
OKLaboklab(70.08% -0.0245 0.0943)
OKLCHoklch(70.08% 0.097 104.6)
XYZxyz(30.7898, 34.8545, 14.1207)
Luminance0.3485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A257 #575DA8
analogous
#A87A57 #A8A257 #85A857
triadic
#A8A257 #57A8A2 #A257A8
tetradic
#A8A257 #57A87A #575DA8 #A85785
square
#A8A257 #57A87A #575DA8 #A85785
split-complementary
#A8A257 #5785A8 #7A57A8
monochromatic
#57542D #807B42 #A8A257 #BDB87F #D2CFA8

Accessibility & contrast

On white

2.63
#A8A257 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#A8A257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A257
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A257#FFFFFF#000000##000000
##A8A2571.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9D51
Deuteranopia (green-blind)
#B0A15A
Tritanopia (blue-blind)
#B29990
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a8a257;
/* rgb */ color: rgb(168, 162, 87);
/* oklch */ color: oklch(70.1% 0.097 104.6);
Tailwind
colors: {
  custom: {
    50: '#c3bd88',
    500: '#a8a257',
    950: '#000000',
  },
}
SCSS
$custom: #a8a257;
$custom-light: #c3bd88;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a257",
  "rgb": {
    "r": 168,
    "g": 162,
    "b": 87
  },
  "hsl": {
    "h": 55.556,
    "s": 31.765,
    "l": 50
  },
  "oklch": {
    "l": 0.70081,
    "c": 0.09738,
    "h": 104.6
  },
  "luminance": 0.34854
}

Semantic roles & 50–950 ramp

primary
#A8A257
secondary
#9B9EC0
accent
#68C860
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120B
muted
#82817C

Preview Lab

Preview with #A8A257

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

Preview Lab → · Contrast checker → · Palette generator →

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