#A8AA28#A8AA28

#A8AA28 is a light, vivid yellow. Relative luminance 0.372; OKLCH L 71.4% C 0.144 H 110.5°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#A8AA28
RGBrgb(168, 170, 40)
HSLhsl(61, 62%, 41%)
HSVhsv(61, 76%, 67%)
CMYKcmyk(1.2%, 0%, 76.5%, 33.3%)
CIE-LABlab(67.45, -15.86, 61.66)
CIE-LCHlch(67.45, 63.66, 104.43°)
OKLaboklab(71.39% -0.0503 0.1349)
OKLCHoklch(71.39% 0.144 110.5)
XYZxyz(30.9073, 37.2284, 7.5648)
Luminance0.3723 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8AA28 #2A28AA
analogous
#AA6B28 #A8AA28 #67AA28
triadic
#A8AA28 #28A8AA #AA28A8
tetradic
#A8AA28 #28AA6B #2A28AA #AA2867
square
#A8AA28 #28AA6B #2A28AA #AA2867
split-complementary
#A8AA28 #2867AA #6B28AA
monochromatic
#464711 #77781C #A8AA28 #CFD23E #DBDD6F

Accessibility & contrast

On white

2.49
#A8AA28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#A8AA28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8AA28
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8AA28#FFFFFF#000000##000000
##A8AA281.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8aa28;
/* rgb */ color: rgb(168, 170, 40);
/* oklch */ color: oklch(71.4% 0.144 110.5);
Tailwind
colors: {
  custom: {
    50: '#c5c36d',
    500: '#a8aa28',
    950: '#000000',
  },
}
SCSS
$custom: #a8aa28;
$custom-light: #c5c36d;
$custom-dark: #000000;
JSON
{
  "hex": "#a8aa28",
  "rgb": {
    "r": 168,
    "g": 170,
    "b": 40
  },
  "hsl": {
    "h": 60.923,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.71394,
    "c": 0.14398,
    "h": 110.5
  },
  "luminance": 0.37227
}

Semantic roles & 50–950 ramp

primary
#A8AA28
secondary
#6B6AC4
accent
#43E545
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A8AA28

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

Preview Lab → · Contrast checker → · Palette generator →

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