#A8A624#A8A624

#A8A624 is a light, vivid yellow. Relative luminance 0.357; OKLCH L 70.5% C 0.142 H 108.6°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#A8A624
RGBrgb(168, 166, 36)
HSLhsl(59, 65%, 40%)
HSVhsv(59, 79%, 66%)
CMYKcmyk(0%, 1.2%, 78.6%, 34.1%)
CIE-LABlab(66.31, -13.96, 61.87)
CIE-LCHlch(66.31, 63.43, 102.71°)
OKLaboklab(70.48% -0.0454 0.1346)
OKLCHoklch(70.48% 0.142 108.6)
XYZxyz(30.1043, 35.7256, 6.9787)
Luminance0.3573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A624 #2426A8
analogous
#A86424 #A8A624 #68A824
triadic
#A8A624 #24A8A6 #A624A8
tetradic
#A8A624 #24A864 #2426A8 #A82468
square
#A8A624 #24A864 #2426A8 #A82468
split-complementary
#A8A624 #2468A8 #6424A8
monochromatic
#43420E #767419 #A8A624 #D4D135 #DFDD68

Accessibility & contrast

On white

2.58
#A8A624 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#A8A624 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A624
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A624#FFFFFF#000000##000000
##A8A6241.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F00
Deuteranopia (green-blind)
#B6A32F
Tritanopia (blue-blind)
#B49B8E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a8a624;
/* rgb */ color: rgb(168, 166, 36);
/* oklch */ color: oklch(70.5% 0.142 108.6);
Tailwind
colors: {
  custom: {
    50: '#c6c06b',
    500: '#a8a624',
    950: '#000000',
  },
}
SCSS
$custom: #a8a624;
$custom-light: #c6c06b;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a624",
  "rgb": {
    "r": 168,
    "g": 166,
    "b": 36
  },
  "hsl": {
    "h": 59.091,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.70478,
    "c": 0.14206,
    "h": 108.6
  },
  "luminance": 0.35725
}

Semantic roles & 50–950 ramp

primary
#A8A624
secondary
#6365C4
accent
#43E840
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A8A624

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

Preview Lab → · Contrast checker → · Palette generator →

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