#AAAF4D#AAAF4D

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

Color values

HEX#AAAF4D
RGBrgb(170, 175, 77)
HSLhsl(63, 39%, 49%)
HSVhsv(63, 56%, 69%)
CMYKcmyk(2.9%, 0%, 56%, 31.4%)
CIE-LABlab(69.29, -15.31, 48.72)
CIE-LCHlch(69.29, 51.06, 107.45°)
OKLaboklab(72.99% -0.0451 0.1132)
OKLCHoklch(72.99% 0.122 111.7)
XYZxyz(33.2479, 39.7425, 12.9394)
Luminance0.3974 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAF4D #524DAF
analogous
#AF834D #AAAF4D #79AF4D
triadic
#AAAF4D #4DAAAF #AF4DAA
tetradic
#AAAF4D #4DAF83 #524DAF #AF4D79
square
#AAAF4D #4DAF83 #524DAF #AF4D79
split-complementary
#AAAF4D #4D79AF #834DAF
monochromatic
#575A28 #81853A #AAAF4D #BFC376 #D3D6A1

Accessibility & contrast

On white

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

On black

8.95
#AAAF4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAF4D
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAF4D#FFFFFF#000000##000000
##AAAF4D1.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA843
Deuteranopia (green-blind)
#BBAA53
Tritanopia (blue-blind)
#B4A599
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #aaaf4d;
/* rgb */ color: rgb(170, 175, 77);
/* oklch */ color: oklch(73.0% 0.122 111.7);
Tailwind
colors: {
  custom: {
    50: '#c5c682',
    500: '#aaaf4d',
    950: '#000000',
  },
}
SCSS
$custom: #aaaf4d;
$custom-light: #c5c682;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaf4d",
  "rgb": {
    "r": 170,
    "g": 175,
    "b": 77
  },
  "hsl": {
    "h": 63.061,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.72992,
    "c": 0.12189,
    "h": 111.7
  },
  "luminance": 0.39742
}

Semantic roles & 50–950 ramp

primary
#AAAF4D
secondary
#9895C3
accent
#59CF5F
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #AAAF4D

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

Preview Lab → · Contrast checker → · Palette generator →

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