#A8A951#A8A951

#A8A951 is a light, moderate yellow. Relative luminance 0.373; OKLCH L 71.5% C 0.111 H 109.5°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#A8A951
RGBrgb(168, 169, 81)
HSLhsl(61, 35%, 49%)
HSVhsv(61, 52%, 66%)
CMYKcmyk(0.6%, 0%, 52.1%, 33.7%)
CIE-LABlab(67.50, -12.72, 44.72)
CIE-LCHlch(67.50, 46.49, 105.87°)
OKLaboklab(71.54% -0.0372 0.1051)
OKLCHoklch(71.54% 0.111 109.5)
XYZxyz(31.8224, 37.2956, 13.3054)
Luminance0.3730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A951 #5251A9
analogous
#A97E51 #A8A951 #7CA951
triadic
#A8A951 #51A8A9 #A951A8
tetradic
#A8A951 #51A97E #5251A9 #A9517C
square
#A8A951 #51A97E #5251A9 #A9517C
split-complementary
#A8A951 #517CA9 #7E51A9
monochromatic
#565629 #7F803D #A8A951 #BEBF79 #D2D2A2

Accessibility & contrast

On white

2.48
#A8A951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#A8A951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A951
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A951#FFFFFF#000000##000000
##A8A9511.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A349
Deuteranopia (green-blind)
#B6A656
Tritanopia (blue-blind)
#B2A095
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a8a951;
/* rgb */ color: rgb(168, 169, 81);
/* oklch */ color: oklch(71.5% 0.111 109.5);
Tailwind
colors: {
  custom: {
    50: '#c4c284',
    500: '#a8a951',
    950: '#000000',
  },
}
SCSS
$custom: #a8a951;
$custom-light: #c4c284;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a951",
  "rgb": {
    "r": 168,
    "g": 169,
    "b": 81
  },
  "hsl": {
    "h": 60.682,
    "s": 35.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.7154,
    "c": 0.11146,
    "h": 109.5
  },
  "luminance": 0.37295
}

Semantic roles & 50–950 ramp

primary
#A8A951
secondary
#9796C0
accent
#5DCB5E
background
#FCFBF8
surface
#F8F7EF
border
#D1D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #A8A951

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

Preview Lab → · Contrast checker → · Palette generator →

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