#A8A728#A8A728

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

Color values

HEX#A8A728
RGBrgb(168, 167, 40)
HSLhsl(60, 62%, 41%)
HSVhsv(60, 76%, 66%)
CMYKcmyk(0%, 0.6%, 76.2%, 34.1%)
CIE-LABlab(66.61, -14.32, 60.89)
CIE-LCHlch(66.61, 62.55, 103.23°)
OKLaboklab(70.72% -0.046 0.1333)
OKLCHoklch(70.72% 0.141 109.1)
XYZxyz(30.3513, 36.1164, 7.3794)
Luminance0.3612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A728 #2829A8
analogous
#A86728 #A8A728 #69A828
triadic
#A8A728 #28A8A7 #A728A8
tetradic
#A8A728 #28A867 #2829A8 #A82869
square
#A8A728 #28A867 #2829A8 #A82869
split-complementary
#A8A728 #2869A8 #6728A8
monochromatic
#454510 #77761C #A8A728 #D1D03D #DCDC6E

Accessibility & contrast

On white

2.55
#A8A728 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8A728#FFFFFF#000000##000000
##A8A7281.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8a728;
/* rgb */ color: rgb(168, 167, 40);
/* oklch */ color: oklch(70.7% 0.141 109.1);
Tailwind
colors: {
  custom: {
    50: '#c5c06d',
    500: '#a8a728',
    950: '#000000',
  },
}
SCSS
$custom: #a8a728;
$custom-light: #c5c06d;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a728",
  "rgb": {
    "r": 168,
    "g": 167,
    "b": 40
  },
  "hsl": {
    "h": 59.531,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.70724,
    "c": 0.14099,
    "h": 109.1
  },
  "luminance": 0.36115
}

Semantic roles & 50–950 ramp

primary
#A8A728
secondary
#6969C3
accent
#44E543
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A8A728

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

Preview Lab → · Contrast checker → · Palette generator →

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