#A8A643#A8A643

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

Color values

HEX#A8A643
RGBrgb(168, 166, 67)
HSLhsl(59, 43%, 46%)
HSVhsv(59, 60%, 66%)
CMYKcmyk(0%, 1.2%, 60.1%, 34.1%)
CIE-LABlab(66.52, -12.27, 50.17)
CIE-LCHlch(66.52, 51.65, 103.75°)
OKLaboklab(70.72% -0.0375 0.1151)
OKLCHoklch(70.72% 0.121 108)
XYZxyz(30.7987, 36.0034, 10.6361)
Luminance0.3600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A643 #4345A8
analogous
#A87343 #A8A643 #77A843
triadic
#A8A643 #43A8A6 #A643A8
tetradic
#A8A643 #43A873 #4345A8 #A84377
square
#A8A643 #43A873 #4345A8 #A84377
split-complementary
#A8A643 #4377A8 #7343A8
monochromatic
#505020 #7C7B32 #A8A643 #C2C066 #D3D292

Accessibility & contrast

On white

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

On black

8.20
#A8A643 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A643
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A643#FFFFFF#000000##000000
##A8A6431.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8a643;
/* rgb */ color: rgb(168, 166, 67);
/* oklch */ color: oklch(70.7% 0.121 108.0);
Tailwind
colors: {
  custom: {
    50: '#c4c07b',
    500: '#a8a643',
    950: '#000000',
  },
}
SCSS
$custom: #a8a643;
$custom-light: #c4c07b;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a643",
  "rgb": {
    "r": 168,
    "g": 166,
    "b": 67
  },
  "hsl": {
    "h": 58.812,
    "s": 42.979,
    "l": 46.078
  },
  "oklch": {
    "l": 0.70716,
    "c": 0.12106,
    "h": 108
  },
  "luminance": 0.36003
}

Semantic roles & 50–950 ramp

primary
#A8A643
secondary
#8889BF
accent
#58D355
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #A8A643

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

Preview Lab → · Contrast checker → · Palette generator →

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