#AAAF4B#AAAF4B

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

Color values

HEX#AAAF4B
RGBrgb(170, 175, 75)
HSLhsl(63, 40%, 49%)
HSVhsv(63, 57%, 69%)
CMYKcmyk(2.9%, 0%, 57.1%, 31.4%)
CIE-LABlab(69.27, -15.47, 49.62)
CIE-LCHlch(69.27, 51.97, 107.32°)
OKLaboklab(72.97% -0.0458 0.1149)
OKLCHoklch(72.97% 0.124 111.7)
XYZxyz(33.1783, 39.7147, 12.5732)
Luminance0.3971 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAF4B #504BAF
analogous
#AF824B #AAAF4B #78AF4B
triadic
#AAAF4B #4BAAAF #AF4BAA
tetradic
#AAAF4B #4BAF82 #504BAF #AF4B78
square
#AAAF4B #4BAF82 #504BAF #AF4B78
split-complementary
#AAAF4B #4B78AF #824BAF
monochromatic
#575926 #808439 #AAAF4B #BFC374 #D3D69F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAAF4B#FFFFFF#000000##000000
##AAAF4B1.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)
#BBA840
Deuteranopia (green-blind)
#BCAA51
Tritanopia (blue-blind)
#B4A599
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #aaaf4b;
/* rgb */ color: rgb(170, 175, 75);
/* oklch */ color: oklch(73.0% 0.124 111.7);
Tailwind
colors: {
  custom: {
    50: '#c6c681',
    500: '#aaaf4b',
    950: '#000000',
  },
}
SCSS
$custom: #aaaf4b;
$custom-light: #c6c681;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaf4b",
  "rgb": {
    "r": 170,
    "g": 175,
    "b": 75
  },
  "hsl": {
    "h": 63,
    "s": 40,
    "l": 49.02
  },
  "oklch": {
    "l": 0.7297,
    "c": 0.12371,
    "h": 111.7
  },
  "luminance": 0.39714
}

Semantic roles & 50–950 ramp

primary
#AAAF4B
secondary
#9693C2
accent
#58D05E
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130A
muted
#82827C

Preview Lab

Preview with #AAAF4B

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

Preview Lab → · Contrast checker → · Palette generator →

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