#A8A154#A8A154

#A8A154 is a light, moderate yellow. Relative luminance 0.345; OKLCH L 69.8% C 0.099 H 104.0°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#A8A154
RGBrgb(168, 161, 84)
HSLhsl(55, 33%, 49%)
HSVhsv(55, 50%, 66%)
CMYKcmyk(0%, 4.2%, 50%, 34.1%)
CIE-LABlab(65.32, -8.24, 40.66)
CIE-LCHlch(65.32, 41.48, 101.45°)
OKLaboklab(69.82% -0.0241 0.0965)
OKLCHoklch(69.82% 0.099 104)
XYZxyz(30.4944, 34.4556, 13.4300)
Luminance0.3446 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A154 #545BA8
analogous
#A87754 #A8A154 #85A854
triadic
#A8A154 #54A8A1 #A154A8
tetradic
#A8A154 #54A877 #545BA8 #A85485
square
#A8A154 #54A877 #545BA8 #A85485
split-complementary
#A8A154 #5485A8 #7754A8
monochromatic
#56532B #7F7A40 #A8A154 #BDB87C #D2CEA5

Accessibility & contrast

On white

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

On black

7.89
#A8A154 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A154
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A154#FFFFFF#000000##000000
##A8A1541.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9C4D
Deuteranopia (green-blind)
#AFA058
Tritanopia (blue-blind)
#B3988F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a8a154;
/* rgb */ color: rgb(168, 161, 84);
/* oklch */ color: oklch(69.8% 0.099 104.0);
Tailwind
colors: {
  custom: {
    50: '#c4bc86',
    500: '#a8a154',
    950: '#000000',
  },
}
SCSS
$custom: #a8a154;
$custom-light: #c4bc86;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a154",
  "rgb": {
    "r": 168,
    "g": 161,
    "b": 84
  },
  "hsl": {
    "h": 55,
    "s": 33.333,
    "l": 49.412
  },
  "oklch": {
    "l": 0.6982,
    "c": 0.09946,
    "h": 104
  },
  "luminance": 0.34455
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A8A154

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

Preview Lab → · Contrast checker → · Palette generator →

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