#AAAF7F#AAAF7F

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

Color values

HEX#AAAF7F
RGBrgb(170, 175, 127)
HSLhsl(66, 23%, 59%)
HSVhsv(66, 27%, 69%)
CMYKcmyk(2.9%, 0%, 27.4%, 31.4%)
CIE-LABlab(69.99, -9.77, 24.10)
CIE-LCHlch(69.99, 26.00, 112.08°)
OKLaboklab(73.79% -0.0255 0.0606)
OKLCHoklch(73.79% 0.066 112.8)
XYZxyz(35.7382, 40.7386, 26.0552)
Luminance0.4074 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAF7F #847FAF
analogous
#AF9C7F #AAAF7F #92AF7F
triadic
#AAAF7F #7FAAAF #AF7FAA
tetradic
#AAAF7F #7FAF9C #847FAF #AF7F92
square
#AAAF7F #7FAF9C #847FAF #AF7F92
split-complementary
#AAAF7F #7F92AF #9C7FAF
monochromatic
#6A6F45 #8E945D #AAAF7F #C3C7A5 #DCDECA

Accessibility & contrast

On white

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

On black

9.15
#AAAF7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAF7F
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAF7F#FFFFFF#000000##000000
##AAAF7F1.002.309.159.15
#FFFFFF2.301.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aaaf7f;
/* rgb */ color: rgb(170, 175, 127);
/* oklch */ color: oklch(73.8% 0.066 112.8);
Tailwind
colors: {
  custom: {
    50: '#c3c6a4',
    500: '#aaaf7f',
    950: '#000000',
  },
}
SCSS
$custom: #aaaf7f;
$custom-light: #c3c6a4;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaf7f",
  "rgb": {
    "r": 170,
    "g": 175,
    "b": 127
  },
  "hsl": {
    "h": 66.25,
    "s": 23.077,
    "l": 59.216
  },
  "oklch": {
    "l": 0.73785,
    "c": 0.06575,
    "h": 112.8
  },
  "luminance": 0.40738
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AAAF7F

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

Preview Lab → · Contrast checker → · Palette generator →

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