#AAAF4C#AAAF4C

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

Color values

HEX#AAAF4C
RGBrgb(170, 175, 76)
HSLhsl(63, 39%, 49%)
HSVhsv(63, 57%, 69%)
CMYKcmyk(2.9%, 0%, 56.6%, 31.4%)
CIE-LABlab(69.28, -15.39, 49.17)
CIE-LCHlch(69.28, 51.52, 107.38°)
OKLaboklab(72.98% -0.0455 0.1141)
OKLCHoklch(72.98% 0.123 111.7)
XYZxyz(33.2128, 39.7285, 12.7549)
Luminance0.3973 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAF4C #514CAF
analogous
#AF834C #AAAF4C #79AF4C
triadic
#AAAF4C #4CAAAF #AF4CAA
tetradic
#AAAF4C #4CAF83 #514CAF #AF4C79
square
#AAAF4C #4CAF83 #514CAF #AF4C79
split-complementary
#AAAF4C #4C79AF #834CAF
monochromatic
#575A27 #818439 #AAAF4C #BFC375 #D3D6A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAAF4C#FFFFFF#000000##000000
##AAAF4C1.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)
#BBA842
Deuteranopia (green-blind)
#BCAA52
Tritanopia (blue-blind)
#B4A599
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #aaaf4c;
/* rgb */ color: rgb(170, 175, 76);
/* oklch */ color: oklch(73.0% 0.123 111.7);
Tailwind
colors: {
  custom: {
    50: '#c5c682',
    500: '#aaaf4c',
    950: '#000000',
  },
}
SCSS
$custom: #aaaf4c;
$custom-light: #c5c682;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaf4c",
  "rgb": {
    "r": 170,
    "g": 175,
    "b": 76
  },
  "hsl": {
    "h": 63.03,
    "s": 39.442,
    "l": 49.216
  },
  "oklch": {
    "l": 0.72981,
    "c": 0.12281,
    "h": 111.7
  },
  "luminance": 0.39728
}

Semantic roles & 50–950 ramp

primary
#AAAF4C
secondary
#9794C2
accent
#58CF5E
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #AAAF4C

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

Preview Lab → · Contrast checker → · Palette generator →

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