#A7A628#A7A628

#A7A628 is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.4% C 0.140 H 109.1°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#A7A628
RGBrgb(167, 166, 40)
HSLhsl(60, 61%, 41%)
HSVhsv(60, 76%, 65%)
CMYKcmyk(0%, 0.6%, 76%, 34.5%)
CIE-LABlab(66.25, -14.24, 60.52)
CIE-LCHlch(66.25, 62.17, 103.24°)
OKLaboklab(70.41% -0.0458 0.1325)
OKLCHoklch(70.41% 0.14 109.1)
XYZxyz(29.9567, 35.6421, 7.3087)
Luminance0.3564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A628 #2829A7
analogous
#A76728 #A7A628 #68A728
triadic
#A7A628 #28A7A6 #A628A7
tetradic
#A7A628 #28A767 #2829A7 #A72868
square
#A7A628 #28A767 #2829A7 #A72868
split-complementary
#A7A628 #2868A7 #6728A7
monochromatic
#444410 #76751C #A7A628 #D0CF3C #DCDB6D

Accessibility & contrast

On white

2.58
#A7A628 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#A7A628 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A628
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A628#FFFFFF#000000##000000
##A7A6281.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F08
Deuteranopia (green-blind)
#B6A332
Tritanopia (blue-blind)
#B39B8E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a7a628;
/* rgb */ color: rgb(167, 166, 40);
/* oklch */ color: oklch(70.4% 0.140 109.1);
Tailwind
colors: {
  custom: {
    50: '#c5c06d',
    500: '#a7a628',
    950: '#000000',
  },
}
SCSS
$custom: #a7a628;
$custom-light: #c5c06d;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a628",
  "rgb": {
    "r": 167,
    "g": 166,
    "b": 40
  },
  "hsl": {
    "h": 59.528,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.70413,
    "c": 0.1402,
    "h": 109.1
  },
  "luminance": 0.35641
}

Semantic roles & 50–950 ramp

primary
#A7A628
secondary
#6869C3
accent
#45E443
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A7A628

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

Preview Lab → · Contrast checker → · Palette generator →

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