#A8A824#A8A824

#A8A824 is a light, vivid yellow. Relative luminance 0.365; OKLCH L 70.9% C 0.144 H 109.6°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#A8A824
RGBrgb(168, 168, 36)
HSLhsl(60, 65%, 40%)
HSVhsv(60, 79%, 66%)
CMYKcmyk(0%, 0%, 78.6%, 34.1%)
CIE-LABlab(66.87, -14.99, 62.37)
CIE-LCHlch(66.87, 64.15, 103.51°)
OKLaboklab(70.93% -0.0482 0.1357)
OKLCHoklch(70.93% 0.144 109.6)
XYZxyz(30.4707, 36.4584, 7.1008)
Luminance0.3646 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A824 #2424A8
analogous
#A86624 #A8A824 #66A824
triadic
#A8A824 #24A8A8 #A824A8
tetradic
#A8A824 #24A866 #2424A8 #A82466
square
#A8A824 #24A866 #2424A8 #A82466
split-complementary
#A8A824 #2466A8 #6624A8
monochromatic
#43430E #767619 #A8A824 #D4D435 #DFDF68

Accessibility & contrast

On white

2.53
#A8A824 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#A8A824 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A824
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A824#FFFFFF#000000##000000
##A8A8241.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A100
Deuteranopia (green-blind)
#B8A530
Tritanopia (blue-blind)
#B49D90
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a8a824;
/* rgb */ color: rgb(168, 168, 36);
/* oklch */ color: oklch(70.9% 0.144 109.6);
Tailwind
colors: {
  custom: {
    50: '#c6c16b',
    500: '#a8a824',
    950: '#000000',
  },
}
SCSS
$custom: #a8a824;
$custom-light: #c6c16b;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a824",
  "rgb": {
    "r": 168,
    "g": 168,
    "b": 36
  },
  "hsl": {
    "h": 60,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.70925,
    "c": 0.14401,
    "h": 109.6
  },
  "luminance": 0.36457
}

Semantic roles & 50–950 ramp

primary
#A8A824
secondary
#6363C4
accent
#40E840
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A8A824

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

Preview Lab → · Contrast checker → · Palette generator →

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