#A8A640#A8A640

#A8A640 is a light, vivid yellow. Relative luminance 0.360; OKLCH L 70.7% C 0.124 H 108.1°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#A8A640
RGBrgb(168, 166, 64)
HSLhsl(59, 45%, 45%)
HSVhsv(59, 62%, 66%)
CMYKcmyk(0%, 1.2%, 61.9%, 34.1%)
CIE-LABlab(66.50, -12.48, 51.48)
CIE-LCHlch(66.50, 52.97, 103.63°)
OKLaboklab(70.69% -0.0384 0.1175)
OKLCHoklch(70.69% 0.124 108.1)
XYZxyz(30.7111, 35.9683, 10.1743)
Luminance0.3597 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A640 #4042A8
analogous
#A87240 #A8A640 #76A840
triadic
#A8A640 #40A8A6 #A640A8
tetradic
#A8A640 #40A872 #4042A8 #A84076
square
#A8A640 #40A872 #4042A8 #A84076
split-complementary
#A8A640 #4076A8 #7240A8
monochromatic
#4F4E1E #7C7A2F #A8A640 #C3C162 #D4D38E

Accessibility & contrast

On white

2.56
#A8A640 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#A8A640 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A640
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A640#FFFFFF#000000##000000
##A8A6401.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A034
Deuteranopia (green-blind)
#B5A346
Tritanopia (blue-blind)
#B39C91
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a8a640;
/* rgb */ color: rgb(168, 166, 64);
/* oklch */ color: oklch(70.7% 0.124 108.1);
Tailwind
colors: {
  custom: {
    50: '#c4c079',
    500: '#a8a640',
    950: '#000000',
  },
}
SCSS
$custom: #a8a640;
$custom-light: #c4c079;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a640",
  "rgb": {
    "r": 168,
    "g": 166,
    "b": 64
  },
  "hsl": {
    "h": 58.846,
    "s": 44.828,
    "l": 45.49
  },
  "oklch": {
    "l": 0.70686,
    "c": 0.12359,
    "h": 108.1
  },
  "luminance": 0.35967
}

Semantic roles & 50–950 ramp

primary
#A8A640
secondary
#8586BF
accent
#56D553
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #A8A640

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

Preview Lab → · Contrast checker → · Palette generator →

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