#A8A255#A8A255

#A8A255 is a light, moderate yellow. Relative luminance 0.348; OKLCH L 70.1% C 0.099 H 104.7°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#A8A255
RGBrgb(168, 162, 85)
HSLhsl(56, 33%, 50%)
HSVhsv(56, 49%, 66%)
CMYKcmyk(0%, 3.6%, 49.4%, 34.1%)
CIE-LABlab(65.61, -8.67, 40.50)
CIE-LCHlch(65.61, 41.42, 102.09°)
OKLaboklab(70.05% -0.0252 0.0962)
OKLCHoklch(70.05% 0.099 104.7)
XYZxyz(30.7092, 34.8223, 13.6963)
Luminance0.3482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A255 #555BA8
analogous
#A87955 #A8A255 #84A855
triadic
#A8A255 #55A8A2 #A255A8
tetradic
#A8A255 #55A879 #555BA8 #A85584
square
#A8A255 #55A879 #555BA8 #A85584
split-complementary
#A8A255 #5584A8 #7955A8
monochromatic
#57542C #7F7B40 #A8A255 #BDB97D #D2CFA6

Accessibility & contrast

On white

2.64
#A8A255 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#A8A255 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A255
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A255#FFFFFF#000000##000000
##A8A2551.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8a255;
/* rgb */ color: rgb(168, 162, 85);
/* oklch */ color: oklch(70.1% 0.099 104.7);
Tailwind
colors: {
  custom: {
    50: '#c4bd87',
    500: '#a8a255',
    950: '#000000',
  },
}
SCSS
$custom: #a8a255;
$custom-light: #c4bd87;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a255",
  "rgb": {
    "r": 168,
    "g": 162,
    "b": 85
  },
  "hsl": {
    "h": 55.663,
    "s": 32.806,
    "l": 49.608
  },
  "oklch": {
    "l": 0.70053,
    "c": 0.09949,
    "h": 104.7
  },
  "luminance": 0.34821
}

Semantic roles & 50–950 ramp

primary
#A8A255
secondary
#999CBF
accent
#67C95F
background
#FCFBF8
surface
#F8F6EF
border
#D1D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #A8A255

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

Preview Lab → · Contrast checker → · Palette generator →

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