#A8A157#A8A157

#A8A157 is a light, moderate yellow. Relative luminance 0.345; OKLCH L 69.9% C 0.096 H 103.8°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#A8A157
RGBrgb(168, 161, 87)
HSLhsl(55, 32%, 50%)
HSVhsv(55, 48%, 66%)
CMYKcmyk(0%, 4.2%, 48.2%, 34.1%)
CIE-LABlab(65.36, -7.95, 39.18)
CIE-LCHlch(65.36, 39.98, 101.47°)
OKLaboklab(69.86% -0.023 0.0935)
OKLCHoklch(69.86% 0.096 103.8)
XYZxyz(30.6144, 34.5036, 14.0622)
Luminance0.3450 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A157 #575EA8
analogous
#A87957 #A8A157 #86A857
triadic
#A8A157 #57A8A1 #A157A8
tetradic
#A8A157 #57A879 #575EA8 #A85786
square
#A8A157 #57A879 #575EA8 #A85786
split-complementary
#A8A157 #5786A8 #7957A8
monochromatic
#57542D #807A42 #A8A157 #BDB87F #D2CEA8

Accessibility & contrast

On white

2.66
#A8A157 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#A8A157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A157
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A157#FFFFFF#000000##000000
##A8A1571.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9C51
Deuteranopia (green-blind)
#AFA05A
Tritanopia (blue-blind)
#B29890
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a8a157;
/* rgb */ color: rgb(168, 161, 87);
/* oklch */ color: oklch(69.9% 0.096 103.8);
Tailwind
colors: {
  custom: {
    50: '#c3bc88',
    500: '#a8a157',
    950: '#000000',
  },
}
SCSS
$custom: #a8a157;
$custom-light: #c3bc88;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a157",
  "rgb": {
    "r": 168,
    "g": 161,
    "b": 87
  },
  "hsl": {
    "h": 54.815,
    "s": 31.765,
    "l": 50
  },
  "oklch": {
    "l": 0.69862,
    "c": 0.09629,
    "h": 103.8
  },
  "luminance": 0.34503
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A8A157

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

Preview Lab → · Contrast checker → · Palette generator →

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