#A8A754#A8A754

#A8A754 is a light, moderate yellow. Relative luminance 0.366; OKLCH L 71.1% C 0.106 H 108.2°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#A8A754
RGBrgb(168, 167, 84)
HSLhsl(59, 33%, 49%)
HSVhsv(59, 50%, 66%)
CMYKcmyk(0%, 0.6%, 50%, 34.1%)
CIE-LABlab(66.98, -11.40, 42.63)
CIE-LCHlch(66.98, 44.13, 104.97°)
OKLaboklab(71.14% -0.0331 0.1008)
OKLCHoklch(71.14% 0.106 108.2)
XYZxyz(31.5681, 36.6031, 13.7880)
Luminance0.3660 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A754 #5455A8
analogous
#A87D54 #A8A754 #7FA854
triadic
#A8A754 #54A8A7 #A754A8
tetradic
#A8A754 #54A87D #5455A8 #A8547F
square
#A8A754 #54A87D #5455A8 #A8547F
split-complementary
#A8A754 #547FA8 #7D54A8
monochromatic
#56562B #7F7E40 #A8A754 #BDBD7C #D2D1A5

Accessibility & contrast

On white

2.52
#A8A754 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#A8A754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A754
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A754#FFFFFF#000000##000000
##A8A7541.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A14C
Deuteranopia (green-blind)
#B4A558
Tritanopia (blue-blind)
#B29E94
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a8a754;
/* rgb */ color: rgb(168, 167, 84);
/* oklch */ color: oklch(71.1% 0.106 108.2);
Tailwind
colors: {
  custom: {
    50: '#c4c186',
    500: '#a8a754',
    950: '#000000',
  },
}
SCSS
$custom: #a8a754;
$custom-light: #c4c186;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a754",
  "rgb": {
    "r": 168,
    "g": 167,
    "b": 84
  },
  "hsl": {
    "h": 59.286,
    "s": 33.333,
    "l": 49.412
  },
  "oklch": {
    "l": 0.71137,
    "c": 0.10614,
    "h": 108.2
  },
  "luminance": 0.36602
}

Semantic roles & 50–950 ramp

primary
#A8A754
secondary
#9999BF
accent
#60C95E
background
#FCFBF8
surface
#F8F7EF
border
#D1D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #A8A754

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

Preview Lab → · Contrast checker → · Palette generator →

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