#A7A728#A7A728

#A7A728 is a light, vivid yellow. Relative luminance 0.360; OKLCH L 70.6% C 0.141 H 109.5°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#A7A728
RGBrgb(167, 167, 40)
HSLhsl(60, 61%, 41%)
HSVhsv(60, 76%, 65%)
CMYKcmyk(0%, 0%, 76%, 34.5%)
CIE-LABlab(66.53, -14.75, 60.78)
CIE-LCHlch(66.53, 62.54, 103.64°)
OKLaboklab(70.64% -0.0472 0.1331)
OKLCHoklch(70.64% 0.141 109.5)
XYZxyz(30.1392, 36.0070, 7.3695)
Luminance0.3601 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A728 #2828A7
analogous
#A76728 #A7A728 #67A728
triadic
#A7A728 #28A7A7 #A728A7
tetradic
#A7A728 #28A767 #2828A7 #A72867
square
#A7A728 #28A767 #2828A7 #A72867
split-complementary
#A7A728 #2867A7 #6728A7
monochromatic
#444410 #76761C #A7A728 #D0D03C #DCDC6D

Accessibility & contrast

On white

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

On black

8.20
#A7A728 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A728
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A728#FFFFFF#000000##000000
##A7A7281.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7a728;
/* rgb */ color: rgb(167, 167, 40);
/* oklch */ color: oklch(70.6% 0.141 109.5);
Tailwind
colors: {
  custom: {
    50: '#c5c06d',
    500: '#a7a728',
    950: '#000000',
  },
}
SCSS
$custom: #a7a728;
$custom-light: #c5c06d;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a728",
  "rgb": {
    "r": 167,
    "g": 167,
    "b": 40
  },
  "hsl": {
    "h": 60,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.70637,
    "c": 0.14119,
    "h": 109.5
  },
  "luminance": 0.36006
}

Semantic roles & 50–950 ramp

primary
#A7A728
secondary
#6868C3
accent
#43E443
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A7A728

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

Preview Lab → · Contrast checker → · Palette generator →

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