#A6AA28#A6AA28

#A6AA28 is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.2% C 0.144 H 111.4°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#A6AA28
RGBrgb(166, 170, 40)
HSLhsl(62, 62%, 41%)
HSVhsv(62, 76%, 67%)
CMYKcmyk(2.4%, 0%, 76.5%, 33.3%)
CIE-LABlab(67.28, -16.73, 61.45)
CIE-LCHlch(67.28, 63.68, 105.23°)
OKLaboklab(71.22% -0.0526 0.1345)
OKLCHoklch(71.22% 0.144 111.4)
XYZxyz(30.4847, 37.0104, 7.5450)
Luminance0.3701 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6AA28 #2C28AA
analogous
#AA6D28 #A6AA28 #65AA28
triadic
#A6AA28 #28A6AA #AA28A6
tetradic
#A6AA28 #28AA6D #2C28AA #AA2865
square
#A6AA28 #28AA6D #2C28AA #AA2865
split-complementary
#A6AA28 #2865AA #6D28AA
monochromatic
#454711 #76781C #A6AA28 #CDD23E #DADD6F

Accessibility & contrast

On white

2.50
#A6AA28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#A6AA28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6AA28
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6AA28#FFFFFF#000000##000000
##A6AA281.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A205
Deuteranopia (green-blind)
#B8A533
Tritanopia (blue-blind)
#B29F92
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a6aa28;
/* rgb */ color: rgb(166, 170, 40);
/* oklch */ color: oklch(71.2% 0.144 111.4);
Tailwind
colors: {
  custom: {
    50: '#c4c36d',
    500: '#a6aa28',
    950: '#000000',
  },
}
SCSS
$custom: #a6aa28;
$custom-light: #c4c36d;
$custom-dark: #000000;
JSON
{
  "hex": "#a6aa28",
  "rgb": {
    "r": 166,
    "g": 170,
    "b": 40
  },
  "hsl": {
    "h": 61.846,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.71224,
    "c": 0.14447,
    "h": 111.4
  },
  "luminance": 0.3701
}

Semantic roles & 50–950 ramp

primary
#A6AA28
secondary
#6D6AC4
accent
#43E548
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A6AA28

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

Preview Lab → · Contrast checker → · Palette generator →

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