#AAAF73#AAAF73

#AAAF73 is a light, moderate yellow. Relative luminance 0.404; OKLCH L 73.6% C 0.081 H 112.3°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#AAAF73
RGBrgb(170, 175, 115)
HSLhsl(65, 27%, 57%)
HSVhsv(65, 34%, 69%)
CMYKcmyk(2.9%, 0%, 34.3%, 31.4%)
CIE-LABlab(69.78, -11.37, 30.23)
CIE-LCHlch(69.78, 32.30, 110.62°)
OKLaboklab(73.55% -0.0306 0.0747)
OKLCHoklch(73.55% 0.081 112.3)
XYZxyz(35.0022, 40.4442, 22.1789)
Luminance0.4044 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAF73 #7873AF
analogous
#AF9673 #AAAF73 #8CAF73
triadic
#AAAF73 #73AAAF #AF73AA
tetradic
#AAAF73 #73AF96 #7873AF #AF738C
square
#AAAF73 #73AF96 #7873AF #AF738C
split-complementary
#AAAF73 #738CAF #9673AF
monochromatic
#676B3D #8C9253 #AAAF73 #C2C59A #D9DCC1

Accessibility & contrast

On white

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

On black

9.09
#AAAF73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAF73
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAF73#FFFFFF#000000##000000
##AAAF731.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aaaf73;
/* rgb */ color: rgb(170, 175, 115);
/* oklch */ color: oklch(73.6% 0.081 112.3);
Tailwind
colors: {
  custom: {
    50: '#c4c69c',
    500: '#aaaf73',
    950: '#000000',
  },
}
SCSS
$custom: #aaaf73;
$custom-light: #c4c69c;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaf73",
  "rgb": {
    "r": 170,
    "g": 175,
    "b": 115
  },
  "hsl": {
    "h": 65,
    "s": 27.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.73552,
    "c": 0.08075,
    "h": 112.3
  },
  "luminance": 0.40444
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AAAF73

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

Preview Lab → · Contrast checker → · Palette generator →

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