#AAAF7E#AAAF7E

#AAAF7E is a light, moderate yellow. Relative luminance 0.407; OKLCH L 73.8% C 0.067 H 112.8°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#AAAF7E
RGBrgb(170, 175, 126)
HSLhsl(66, 23%, 59%)
HSVhsv(66, 28%, 69%)
CMYKcmyk(2.9%, 0%, 28%, 31.4%)
CIE-LABlab(69.97, -9.91, 24.61)
CIE-LCHlch(69.97, 26.53, 111.94°)
OKLaboklab(73.76% -0.026 0.0618)
OKLCHoklch(73.76% 0.067 112.8)
XYZxyz(35.6734, 40.7127, 25.7137)
Luminance0.4071 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAF7E #837EAF
analogous
#AF9C7E #AAAF7E #92AF7E
triadic
#AAAF7E #7EAAAF #AF7EAA
tetradic
#AAAF7E #7EAF9C #837EAF #AF7E92
square
#AAAF7E #7EAF9C #837EAF #AF7E92
split-complementary
#AAAF7E #7E92AF #9C7EAF
monochromatic
#6A6E44 #8E945C #AAAF7E #C3C6A4 #DCDECA

Accessibility & contrast

On white

2.30
#AAAF7E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#AAAF7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAF7E
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAF7E#FFFFFF#000000##000000
##AAAF7E1.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6AA7B
Deuteranopia (green-blind)
#B6AC80
Tritanopia (blue-blind)
#B0A9A2
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #aaaf7e;
/* rgb */ color: rgb(170, 175, 126);
/* oklch */ color: oklch(73.8% 0.067 112.8);
Tailwind
colors: {
  custom: {
    50: '#c4c6a3',
    500: '#aaaf7e',
    950: '#000000',
  },
}
SCSS
$custom: #aaaf7e;
$custom-light: #c4c6a3;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaf7e",
  "rgb": {
    "r": 170,
    "g": 175,
    "b": 126
  },
  "hsl": {
    "h": 66.122,
    "s": 23.445,
    "l": 59.02
  },
  "oklch": {
    "l": 0.73764,
    "c": 0.06702,
    "h": 112.8
  },
  "luminance": 0.40712
}

Semantic roles & 50–950 ramp

primary
#AAAF7E
secondary
#BDBBCE
accent
#68C071
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#12130F
muted
#81827F

Preview Lab

Preview with #AAAF7E

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

Preview Lab → · Contrast checker → · Palette generator →

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