#A6A728#A6A728

#A6A728 is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.5% C 0.141 H 110.0°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#A6A728
RGBrgb(166, 167, 40)
HSLhsl(60, 61%, 41%)
HSVhsv(60, 76%, 65%)
CMYKcmyk(0.6%, 0%, 76%, 34.5%)
CIE-LABlab(66.44, -15.19, 60.67)
CIE-LCHlch(66.44, 62.55, 104.06°)
OKLaboklab(70.55% -0.0484 0.1329)
OKLCHoklch(70.55% 0.141 110)
XYZxyz(29.9287, 35.8985, 7.3596)
Luminance0.3590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A728 #2928A7
analogous
#A76828 #A6A728 #67A728
triadic
#A6A728 #28A6A7 #A728A6
tetradic
#A6A728 #28A768 #2928A7 #A72867
square
#A6A728 #28A768 #2928A7 #A72867
split-complementary
#A6A728 #2867A7 #6828A7
monochromatic
#444410 #75761C #A6A728 #CFD03C #DBDC6D

Accessibility & contrast

On white

2.57
#A6A728 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#A6A728 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A728
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A728#FFFFFF#000000##000000
##A6A7281.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a6a728;
/* rgb */ color: rgb(166, 167, 40);
/* oklch */ color: oklch(70.5% 0.141 110.0);
Tailwind
colors: {
  custom: {
    50: '#c4c06d',
    500: '#a6a728',
    950: '#000000',
  },
}
SCSS
$custom: #a6a728;
$custom-light: #c4c06d;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a728",
  "rgb": {
    "r": 166,
    "g": 167,
    "b": 40
  },
  "hsl": {
    "h": 60.472,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.7055,
    "c": 0.14141,
    "h": 110
  },
  "luminance": 0.35898
}

Semantic roles & 50–950 ramp

primary
#A6A728
secondary
#6968C3
accent
#43E445
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A6A728

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

Preview Lab → · Contrast checker → · Palette generator →

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