#A8A451#A8A451

#A8A451 is a light, moderate yellow. Relative luminance 0.355; OKLCH L 70.4% C 0.106 H 106.3°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#A8A451
RGBrgb(168, 164, 81)
HSLhsl(57, 35%, 49%)
HSVhsv(57, 52%, 66%)
CMYKcmyk(0%, 2.4%, 51.8%, 34.1%)
CIE-LABlab(66.11, -10.10, 43.09)
CIE-LCHlch(66.11, 44.26, 103.19°)
OKLaboklab(70.44% -0.0297 0.1015)
OKLCHoklch(70.44% 0.106 106.3)
XYZxyz(30.9099, 35.4707, 13.0013)
Luminance0.3547 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A451 #5155A8
analogous
#A87951 #A8A451 #81A851
triadic
#A8A451 #51A8A4 #A451A8
tetradic
#A8A451 #51A879 #5155A8 #A85181
square
#A8A451 #51A879 #5155A8 #A85181
split-complementary
#A8A451 #5181A8 #7951A8
monochromatic
#555329 #7F7C3D #A8A451 #BEBB78 #D2D0A1

Accessibility & contrast

On white

2.59
#A8A451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#A8A451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A451
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A451#FFFFFF#000000##000000
##A8A4511.002.598.098.09
#FFFFFF2.591.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09F49
Deuteranopia (green-blind)
#B2A255
Tritanopia (blue-blind)
#B39B91
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a8a451;
/* rgb */ color: rgb(168, 164, 81);
/* oklch */ color: oklch(70.4% 0.106 106.3);
Tailwind
colors: {
  custom: {
    50: '#c4be84',
    500: '#a8a451',
    950: '#000000',
  },
}
SCSS
$custom: #a8a451;
$custom-light: #c4be84;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a451",
  "rgb": {
    "r": 168,
    "g": 164,
    "b": 81
  },
  "hsl": {
    "h": 57.241,
    "s": 34.94,
    "l": 48.824
  },
  "oklch": {
    "l": 0.70437,
    "c": 0.10581,
    "h": 106.3
  },
  "luminance": 0.3547
}

Semantic roles & 50–950 ramp

primary
#A8A451
secondary
#9698BF
accent
#62CB5D
background
#FCFBF8
surface
#F8F6EF
border
#D1D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #A8A451

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

Preview Lab → · Contrast checker → · Palette generator →

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