#A8A855#A8A855

#A8A855 is a light, moderate yellow. Relative luminance 0.370; OKLCH L 71.4% C 0.106 H 108.8°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#A8A855
RGBrgb(168, 168, 85)
HSLhsl(60, 33%, 50%)
HSVhsv(60, 49%, 66%)
CMYKcmyk(0%, 0%, 49.4%, 34.1%)
CIE-LABlab(67.27, -11.83, 42.48)
CIE-LCHlch(67.27, 44.10, 105.56°)
OKLaboklab(71.37% -0.0343 0.1006)
OKLCHoklch(71.37% 0.106 108.8)
XYZxyz(31.7915, 36.9867, 14.0570)
Luminance0.3699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A855 #5555A8
analogous
#A87F55 #A8A855 #7FA855
triadic
#A8A855 #55A8A8 #A855A8
tetradic
#A8A855 #55A87F #5555A8 #A8557F
square
#A8A855 #55A87F #5555A8 #A8557F
split-complementary
#A8A855 #557FA8 #7F55A8
monochromatic
#57572C #7F7F40 #A8A855 #BDBD7D #D2D2A6

Accessibility & contrast

On white

2.50
#A8A855 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#A8A855 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A855
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A855#FFFFFF#000000##000000
##A8A8551.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A24E
Deuteranopia (green-blind)
#B5A559
Tritanopia (blue-blind)
#B29F95
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a8a855;
/* rgb */ color: rgb(168, 168, 85);
/* oklch */ color: oklch(71.4% 0.106 108.8);
Tailwind
colors: {
  custom: {
    50: '#c4c187',
    500: '#a8a855',
    950: '#000000',
  },
}
SCSS
$custom: #a8a855;
$custom-light: #c4c187;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a855",
  "rgb": {
    "r": 168,
    "g": 168,
    "b": 85
  },
  "hsl": {
    "h": 60,
    "s": 32.806,
    "l": 49.608
  },
  "oklch": {
    "l": 0.71371,
    "c": 0.10627,
    "h": 108.8
  },
  "luminance": 0.36986
}

Semantic roles & 50–950 ramp

primary
#A8A855
secondary
#9999BF
accent
#5FC95F
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120B
muted
#82817C

Preview Lab

Preview with #A8A855

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

Preview Lab → · Contrast checker → · Palette generator →

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