#A8A724#A8A724

#A8A724 is a light, vivid yellow. Relative luminance 0.361; OKLCH L 70.7% C 0.143 H 109.1°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#A8A724
RGBrgb(168, 167, 36)
HSLhsl(60, 65%, 40%)
HSVhsv(60, 79%, 66%)
CMYKcmyk(0%, 0.6%, 78.6%, 34.1%)
CIE-LABlab(66.59, -14.47, 62.12)
CIE-LCHlch(66.59, 63.79, 103.11°)
OKLaboklab(70.7% -0.0468 0.1352)
OKLCHoklch(70.7% 0.143 109.1)
XYZxyz(30.2868, 36.0906, 7.0395)
Luminance0.3609 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A724 #2425A8
analogous
#A86524 #A8A724 #67A824
triadic
#A8A724 #24A8A7 #A724A8
tetradic
#A8A724 #24A865 #2425A8 #A82467
square
#A8A724 #24A865 #2425A8 #A82467
split-complementary
#A8A724 #2467A8 #6524A8
monochromatic
#43430E #767519 #A8A724 #D4D335 #DFDE68

Accessibility & contrast

On white

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

On black

8.22
#A8A724 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A724
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A724#FFFFFF#000000##000000
##A8A7241.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A000
Deuteranopia (green-blind)
#B7A430
Tritanopia (blue-blind)
#B49C8F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a8a724;
/* rgb */ color: rgb(168, 167, 36);
/* oklch */ color: oklch(70.7% 0.143 109.1);
Tailwind
colors: {
  custom: {
    50: '#c6c06b',
    500: '#a8a724',
    950: '#000000',
  },
}
SCSS
$custom: #a8a724;
$custom-light: #c6c06b;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a724",
  "rgb": {
    "r": 168,
    "g": 167,
    "b": 36
  },
  "hsl": {
    "h": 59.545,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.70702,
    "c": 0.14302,
    "h": 109.1
  },
  "luminance": 0.3609
}

Semantic roles & 50–950 ramp

primary
#A8A724
secondary
#6364C4
accent
#41E840
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A8A724

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

Preview Lab → · Contrast checker → · Palette generator →

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