#AAAF72#AAAF72

#AAAF72 is a light, moderate yellow. Relative luminance 0.404; OKLCH L 73.5% C 0.082 H 112.2°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#AAAF72
RGBrgb(170, 175, 114)
HSLhsl(65, 28%, 57%)
HSVhsv(65, 35%, 69%)
CMYKcmyk(2.9%, 0%, 34.9%, 31.4%)
CIE-LABlab(69.77, -11.50, 30.74)
CIE-LCHlch(69.77, 32.82, 110.51°)
OKLaboklab(73.53% -0.031 0.0759)
OKLCHoklch(73.53% 0.082 112.2)
XYZxyz(34.9450, 40.4214, 21.8775)
Luminance0.4042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAF72 #7772AF
analogous
#AF9672 #AAAF72 #8CAF72
triadic
#AAAF72 #72AAAF #AF72AA
tetradic
#AAAF72 #72AF96 #7772AF #AF728C
square
#AAAF72 #72AF96 #7772AF #AF728C
split-complementary
#AAAF72 #728CAF #9672AF
monochromatic
#676A3C #8C9152 #AAAF72 #C2C599 #D9DBC0

Accessibility & contrast

On white

2.31
#AAAF72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#AAAF72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAF72
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAF72#FFFFFF#000000##000000
##AAAF721.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8AA6E
Deuteranopia (green-blind)
#B8AB75
Tritanopia (blue-blind)
#B1A8A0
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #aaaf72;
/* rgb */ color: rgb(170, 175, 114);
/* oklch */ color: oklch(73.5% 0.082 112.2);
Tailwind
colors: {
  custom: {
    50: '#c4c69b',
    500: '#aaaf72',
    950: '#000000',
  },
}
SCSS
$custom: #aaaf72;
$custom-light: #c4c69b;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaf72",
  "rgb": {
    "r": 170,
    "g": 175,
    "b": 114
  },
  "hsl": {
    "h": 64.918,
    "s": 27.602,
    "l": 56.667
  },
  "oklch": {
    "l": 0.73533,
    "c": 0.08198,
    "h": 112.2
  },
  "luminance": 0.40421
}

Semantic roles & 50–950 ramp

primary
#AAAF72
secondary
#B4B2CB
accent
#64C46C
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13130E
muted
#82827E

Preview Lab

Preview with #AAAF72

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

Preview Lab → · Contrast checker → · Palette generator →

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