#A8AA2E#A8AA2E

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

Color values

HEX#A8AA2E
RGBrgb(168, 170, 46)
HSLhsl(61, 57%, 42%)
HSVhsv(61, 73%, 67%)
CMYKcmyk(1.2%, 0%, 72.9%, 33.3%)
CIE-LABlab(67.48, -15.59, 59.66)
CIE-LCHlch(67.48, 61.67, 104.65°)
OKLaboklab(71.43% -0.0491 0.1318)
OKLCHoklch(71.43% 0.141 110.4)
XYZxyz(31.0174, 37.2724, 8.1446)
Luminance0.3727 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8AA2E #302EAA
analogous
#AA6E2E #A8AA2E #6AAA2E
triadic
#A8AA2E #2EA8AA #AA2EA8
tetradic
#A8AA2E #2EAA6E #302EAA #AA2E6A
square
#A8AA2E #2EAA6E #302EAA #AA2E6A
split-complementary
#A8AA2E #2E6AAA #6E2EAA
monochromatic
#494A14 #787A21 #A8AA2E #CBCD48 #D9DA78

Accessibility & contrast

On white

2.48
#A8AA2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8AA2E#FFFFFF#000000##000000
##A8AA2E1.002.488.458.45
#FFFFFF2.481.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8aa2e;
/* rgb */ color: rgb(168, 170, 46);
/* oklch */ color: oklch(71.4% 0.141 110.4);
Tailwind
colors: {
  custom: {
    50: '#c5c370',
    500: '#a8aa2e',
    950: '#000000',
  },
}
SCSS
$custom: #a8aa2e;
$custom-light: #c5c370;
$custom-dark: #000000;
JSON
{
  "hex": "#a8aa2e",
  "rgb": {
    "r": 168,
    "g": 170,
    "b": 46
  },
  "hsl": {
    "h": 60.968,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.71431,
    "c": 0.1406,
    "h": 110.4
  },
  "luminance": 0.37272
}

Semantic roles & 50–950 ramp

primary
#A8AA2E
secondary
#7371C3
accent
#47E14A
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A8AA2E

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

Preview Lab → · Contrast checker → · Palette generator →

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