#A7A428#A7A428

#A7A428 is a light, vivid yellow. Relative luminance 0.349; OKLCH L 70.0% C 0.138 H 108.1°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#A7A428
RGBrgb(167, 164, 40)
HSLhsl(59, 61%, 41%)
HSVhsv(59, 76%, 65%)
CMYKcmyk(0%, 1.8%, 76%, 34.5%)
CIE-LABlab(65.69, -13.20, 60.01)
CIE-LCHlch(65.69, 61.44, 102.41°)
OKLaboklab(69.97% -0.0429 0.1314)
OKLCHoklch(69.97% 0.138 108.1)
XYZxyz(29.5960, 34.9206, 7.1884)
Luminance0.3492 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A428 #282BA7
analogous
#A76528 #A7A428 #6AA728
triadic
#A7A428 #28A7A4 #A428A7
tetradic
#A7A428 #28A765 #282BA7 #A7286A
square
#A7A428 #28A765 #282BA7 #A7286A
split-complementary
#A7A428 #286AA7 #6528A7
monochromatic
#444310 #76741C #A7A428 #D0CD3C #DCD96D

Accessibility & contrast

On white

2.63
#A7A428 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#A7A428 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A428
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A428#FFFFFF#000000##000000
##A7A4281.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D0A
Deuteranopia (green-blind)
#B4A232
Tritanopia (blue-blind)
#B3998D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a7a428;
/* rgb */ color: rgb(167, 164, 40);
/* oklch */ color: oklch(70.0% 0.138 108.1);
Tailwind
colors: {
  custom: {
    50: '#c5be6c',
    500: '#a7a428',
    950: '#000000',
  },
}
SCSS
$custom: #a7a428;
$custom-light: #c5be6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a428",
  "rgb": {
    "r": 167,
    "g": 164,
    "b": 40
  },
  "hsl": {
    "h": 58.583,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.69967,
    "c": 0.13824,
    "h": 108.1
  },
  "luminance": 0.3492
}

Semantic roles & 50–950 ramp

primary
#A7A428
secondary
#686AC3
accent
#47E443
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A7A428

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

Preview Lab → · Contrast checker → · Palette generator →

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