#A4A828#A4A828

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

Color values

HEX#A4A828
RGBrgb(164, 168, 40)
HSLhsl(62, 62%, 41%)
HSVhsv(62, 76%, 66%)
CMYKcmyk(2.4%, 0%, 76.2%, 34.1%)
CIE-LABlab(66.56, -16.58, 60.72)
CIE-LCHlch(66.56, 62.94, 105.27°)
OKLaboklab(70.6% -0.0521 0.1331)
OKLCHoklch(70.6% 0.143 111.4)
XYZxyz(29.6965, 36.0518, 7.4014)
Luminance0.3605 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4A828 #2C28A8
analogous
#A86C28 #A4A828 #64A828
triadic
#A4A828 #28A4A8 #A828A4
tetradic
#A4A828 #28A86C #2C28A8 #A82864
square
#A4A828 #28A86C #2C28A8 #A82864
split-complementary
#A4A828 #2864A8 #6C28A8
monochromatic
#434510 #74771C #A4A828 #CCD13D #D9DC6E

Accessibility & contrast

On white

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

On black

8.21
#A4A828 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4A828
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4A828#FFFFFF#000000##000000
##A4A8281.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a4a828;
/* rgb */ color: rgb(164, 168, 40);
/* oklch */ color: oklch(70.6% 0.143 111.4);
Tailwind
colors: {
  custom: {
    50: '#c3c16d',
    500: '#a4a828',
    950: '#000000',
  },
}
SCSS
$custom: #a4a828;
$custom-light: #c3c16d;
$custom-dark: #000000;
JSON
{
  "hex": "#a4a828",
  "rgb": {
    "r": 164,
    "g": 168,
    "b": 40
  },
  "hsl": {
    "h": 61.875,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.70603,
    "c": 0.1429,
    "h": 111.4
  },
  "luminance": 0.36051
}

Semantic roles & 50–950 ramp

primary
#A4A828
secondary
#6B69C3
accent
#43E548
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A4A828

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

Preview Lab → · Contrast checker → · Palette generator →

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