#A8A424#A8A424

#A8A424 is a light, vivid yellow. Relative luminance 0.350; OKLCH L 70.0% C 0.140 H 107.6°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#A8A424
RGBrgb(168, 164, 36)
HSLhsl(58, 65%, 40%)
HSVhsv(58, 79%, 66%)
CMYKcmyk(0%, 2.4%, 78.6%, 34.1%)
CIE-LABlab(65.75, -12.92, 61.38)
CIE-LCHlch(65.75, 62.72, 101.89°)
OKLaboklab(70.03% -0.0425 0.1336)
OKLCHoklch(70.03% 0.14 107.6)
XYZxyz(29.7436, 35.0042, 6.8584)
Luminance0.3500 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A424 #2428A8
analogous
#A86224 #A8A424 #6AA824
triadic
#A8A424 #24A8A4 #A424A8
tetradic
#A8A424 #24A862 #2428A8 #A8246A
square
#A8A424 #24A862 #2428A8 #A8246A
split-complementary
#A8A424 #246AA8 #6224A8
monochromatic
#43420E #767319 #A8A424 #D4CF35 #DFDB68

Accessibility & contrast

On white

2.62
#A8A424 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#A8A424 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A424
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A424#FFFFFF#000000##000000
##A8A4241.002.628.008.00
#FFFFFF2.621.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#B5A22F
Tritanopia (blue-blind)
#B5998C
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a8a424;
/* rgb */ color: rgb(168, 164, 36);
/* oklch */ color: oklch(70.0% 0.140 107.6);
Tailwind
colors: {
  custom: {
    50: '#c6be6b',
    500: '#a8a424',
    950: '#000000',
  },
}
SCSS
$custom: #a8a424;
$custom-light: #c6be6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a424",
  "rgb": {
    "r": 168,
    "g": 164,
    "b": 36
  },
  "hsl": {
    "h": 58.182,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.70033,
    "c": 0.14014,
    "h": 107.6
  },
  "luminance": 0.35003
}

Semantic roles & 50–950 ramp

primary
#A8A424
secondary
#6366C4
accent
#45E840
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A8A424

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

Preview Lab → · Contrast checker → · Palette generator →

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