#A8AA1C#A8AA1C

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

Color values

HEX#A8AA1C
RGBrgb(168, 170, 28)
HSLhsl(61, 72%, 39%)
HSVhsv(61, 84%, 67%)
CMYKcmyk(1.2%, 0%, 83.5%, 33.3%)
CIE-LABlab(67.40, -16.28, 65.02)
CIE-LCHlch(67.40, 67.02, 104.06°)
OKLaboklab(71.34% -0.0524 0.1399)
OKLCHoklch(71.34% 0.149 110.5)
XYZxyz(30.7340, 37.1590, 6.6518)
Luminance0.3716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8AA1C #1E1CAA
analogous
#AA651C #A8AA1C #61AA1C
triadic
#A8AA1C #1CA8AA #AA1CA8
tetradic
#A8AA1C #1CAA65 #1E1CAA #AA1C61
square
#A8AA1C #1CAA65 #1E1CAA #AA1C61
split-complementary
#A8AA1C #1C61AA #651CAA
monochromatic
#40410B #747513 #A8AA1C #D9DC28 #E2E45C

Accessibility & contrast

On white

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

On black

8.43
#A8AA1C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8AA1C
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8AA1C#FFFFFF#000000##000000
##A8AA1C1.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#B9A62B
Tritanopia (blue-blind)
#B49F91
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a8aa1c;
/* rgb */ color: rgb(168, 170, 28);
/* oklch */ color: oklch(71.3% 0.149 110.5);
Tailwind
colors: {
  custom: {
    50: '#c6c368',
    500: '#a8aa1c',
    950: '#000000',
  },
}
SCSS
$custom: #a8aa1c;
$custom-light: #c6c368;
$custom-dark: #000000;
JSON
{
  "hex": "#a8aa1c",
  "rgb": {
    "r": 168,
    "g": 170,
    "b": 28
  },
  "hsl": {
    "h": 60.845,
    "s": 71.717,
    "l": 38.824
  },
  "oklch": {
    "l": 0.71336,
    "c": 0.14943,
    "h": 110.5
  },
  "luminance": 0.37158
}

Semantic roles & 50–950 ramp

primary
#A8AA1C
secondary
#5B5AC8
accent
#39EE3C
background
#FCFBF6
surface
#F9F7EB
border
#D2D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #A8AA1C

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

Preview Lab → · Contrast checker → · Palette generator →

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