#A8AA1F#A8AA1F

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

Color values

HEX#A8AA1F
RGBrgb(168, 170, 31)
HSLhsl(61, 69%, 39%)
HSVhsv(61, 82%, 67%)
CMYKcmyk(1.2%, 0%, 81.8%, 33.3%)
CIE-LABlab(67.41, -16.19, 64.26)
CIE-LCHlch(67.41, 66.27, 104.14°)
OKLaboklab(71.35% -0.0519 0.1388)
OKLCHoklch(71.35% 0.148 110.5)
XYZxyz(30.7717, 37.1741, 6.8504)
Luminance0.3717 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8AA1F #211FAA
analogous
#AA661F #A8AA1F #63AA1F
triadic
#A8AA1F #1FA8AA #AA1FA8
tetradic
#A8AA1F #1FAA66 #211FAA #AA1F63
square
#A8AA1F #1FAA66 #211FAA #AA1F63
split-complementary
#A8AA1F #1F63AA #661FAA
monochromatic
#42420C #757616 #A8AA1F #D6D92D #E0E261

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8AA1F#FFFFFF#000000##000000
##A8AA1F1.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)
#B9A62D
Tritanopia (blue-blind)
#B49F91
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a8aa1f;
/* rgb */ color: rgb(168, 170, 31);
/* oklch */ color: oklch(71.3% 0.148 110.5);
Tailwind
colors: {
  custom: {
    50: '#c6c369',
    500: '#a8aa1f',
    950: '#000000',
  },
}
SCSS
$custom: #a8aa1f;
$custom-light: #c6c369;
$custom-dark: #000000;
JSON
{
  "hex": "#a8aa1f",
  "rgb": {
    "r": 168,
    "g": 170,
    "b": 31
  },
  "hsl": {
    "h": 60.863,
    "s": 69.154,
    "l": 39.412
  },
  "oklch": {
    "l": 0.71349,
    "c": 0.14823,
    "h": 110.5
  },
  "luminance": 0.37173
}

Semantic roles & 50–950 ramp

primary
#A8AA1F
secondary
#5F5EC7
accent
#3CEC3E
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A8AA1F

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

Preview Lab → · Contrast checker → · Palette generator →

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