#AAAF4A#AAAF4A

#AAAF4A is a light, vivid yellow. Relative luminance 0.397; OKLCH L 73.0% C 0.125 H 111.7°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#AAAF4A
RGBrgb(170, 175, 74)
HSLhsl(63, 41%, 49%)
HSVhsv(63, 58%, 69%)
CMYKcmyk(2.9%, 0%, 57.7%, 31.4%)
CIE-LABlab(69.26, -15.55, 50.06)
CIE-LCHlch(69.26, 52.42, 107.25°)
OKLaboklab(72.96% -0.0461 0.1158)
OKLCHoklch(72.96% 0.125 111.7)
XYZxyz(33.1444, 39.7011, 12.3943)
Luminance0.3970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAF4A #4F4AAF
analogous
#AF824A #AAAF4A #78AF4A
triadic
#AAAF4A #4AAAAF #AF4AAA
tetradic
#AAAF4A #4AAF82 #4F4AAF #AF4A78
square
#AAAF4A #4AAF82 #4F4AAF #AF4A78
split-complementary
#AAAF4A #4A78AF #824AAF
monochromatic
#565926 #808438 #AAAF4A #C0C473 #D3D69E

Accessibility & contrast

On white

2.35
#AAAF4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#AAAF4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAF4A
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAF4A#FFFFFF#000000##000000
##AAAF4A1.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA83F
Deuteranopia (green-blind)
#BCAA50
Tritanopia (blue-blind)
#B5A599
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #aaaf4a;
/* rgb */ color: rgb(170, 175, 74);
/* oklch */ color: oklch(73.0% 0.125 111.7);
Tailwind
colors: {
  custom: {
    50: '#c6c680',
    500: '#aaaf4a',
    950: '#000000',
  },
}
SCSS
$custom: #aaaf4a;
$custom-light: #c6c680;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaf4a",
  "rgb": {
    "r": 170,
    "g": 175,
    "b": 74
  },
  "hsl": {
    "h": 62.97,
    "s": 40.562,
    "l": 48.824
  },
  "oklch": {
    "l": 0.72959,
    "c": 0.1246,
    "h": 111.7
  },
  "luminance": 0.397
}

Semantic roles & 50–950 ramp

primary
#AAAF4A
secondary
#9592C2
accent
#57D05D
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130A
muted
#82827C

Preview Lab

Preview with #AAAF4A

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

Preview Lab → · Contrast checker → · Palette generator →

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