#A7A928#A7A928

#A7A928 is a light, vivid yellow. Relative luminance 0.367; OKLCH L 71.1% C 0.143 H 110.5°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#A7A928
RGBrgb(167, 169, 40)
HSLhsl(61, 62%, 41%)
HSVhsv(61, 76%, 66%)
CMYKcmyk(1.2%, 0%, 76.3%, 33.7%)
CIE-LABlab(67.09, -15.78, 61.29)
CIE-LCHlch(67.09, 63.29, 104.44°)
OKLaboklab(71.08% -0.0501 0.1342)
OKLCHoklch(71.08% 0.143 110.5)
XYZxyz(30.5084, 36.7455, 7.4926)
Luminance0.3674 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A928 #2A28A9
analogous
#A96A28 #A7A928 #66A928
triadic
#A7A928 #28A7A9 #A928A7
tetradic
#A7A928 #28A96A #2A28A9 #A92866
square
#A7A928 #28A96A #2A28A9 #A92866
split-complementary
#A7A928 #2866A9 #6A28A9
monochromatic
#454611 #76781C #A7A928 #CFD13D #DBDD6F

Accessibility & contrast

On white

2.52
#A7A928 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#A7A928 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A928
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A928#FFFFFF#000000##000000
##A7A9281.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A106
Deuteranopia (green-blind)
#B8A533
Tritanopia (blue-blind)
#B39E91
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a7a928;
/* rgb */ color: rgb(167, 169, 40);
/* oklch */ color: oklch(71.1% 0.143 110.5);
Tailwind
colors: {
  custom: {
    50: '#c5c26d',
    500: '#a7a928',
    950: '#000000',
  },
}
SCSS
$custom: #a7a928;
$custom-light: #c5c26d;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a928",
  "rgb": {
    "r": 167,
    "g": 169,
    "b": 40
  },
  "hsl": {
    "h": 60.93,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.71084,
    "c": 0.1432,
    "h": 110.5
  },
  "luminance": 0.36745
}

Semantic roles & 50–950 ramp

primary
#A7A928
secondary
#6B69C4
accent
#43E545
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A7A928

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

Preview Lab → · Contrast checker → · Palette generator →

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