#AAAF6F#AAAF6F

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

Color values

HEX#AAAF6F
RGBrgb(170, 175, 111)
HSLhsl(65, 29%, 56%)
HSVhsv(65, 37%, 69%)
CMYKcmyk(2.9%, 0%, 36.6%, 31.4%)
CIE-LABlab(69.72, -11.87, 32.25)
CIE-LCHlch(69.72, 34.37, 110.20°)
OKLaboklab(73.48% -0.0322 0.0793)
OKLCHoklch(73.48% 0.086 112.1)
XYZxyz(34.7770, 40.3542, 20.9929)
Luminance0.4035 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAF6F #746FAF
analogous
#AF946F #AAAF6F #8AAF6F
triadic
#AAAF6F #6FAAAF #AF6FAA
tetradic
#AAAF6F #6FAF94 #746FAF #AF6F8A
square
#AAAF6F #6FAF94 #746FAF #AF6F8A
split-complementary
#AAAF6F #6F8AAF #946FAF
monochromatic
#66693A #8B9150 #AAAF6F #C1C596 #D8DBBE

Accessibility & contrast

On white

2.32
#AAAF6F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#AAAF6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAF6F
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAF6F#FFFFFF#000000##000000
##AAAF6F1.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A96A
Deuteranopia (green-blind)
#B8AB72
Tritanopia (blue-blind)
#B2A89F
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #aaaf6f;
/* rgb */ color: rgb(170, 175, 111);
/* oklch */ color: oklch(73.5% 0.086 112.1);
Tailwind
colors: {
  custom: {
    50: '#c4c699',
    500: '#aaaf6f',
    950: '#000000',
  },
}
SCSS
$custom: #aaaf6f;
$custom-light: #c4c699;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaf6f",
  "rgb": {
    "r": 170,
    "g": 175,
    "b": 111
  },
  "hsl": {
    "h": 64.688,
    "s": 28.571,
    "l": 56.078
  },
  "oklch": {
    "l": 0.7348,
    "c": 0.08558,
    "h": 112.1
  },
  "luminance": 0.40354
}

Semantic roles & 50–950 ramp

primary
#AAAF6F
secondary
#B2B0CA
accent
#63C56B
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13130E
muted
#82827E

Preview Lab

Preview with #AAAF6F

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

Preview Lab → · Contrast checker → · Palette generator →

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