#AAAF79#AAAF79

#AAAF79 is a light, moderate yellow. Relative luminance 0.406; OKLCH L 73.7% C 0.073 H 112.5°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#AAAF79
RGBrgb(170, 175, 121)
HSLhsl(66, 25%, 58%)
HSVhsv(66, 31%, 69%)
CMYKcmyk(2.9%, 0%, 30.9%, 31.4%)
CIE-LABlab(69.89, -10.59, 27.17)
CIE-LCHlch(69.89, 29.16, 111.30°)
OKLaboklab(73.67% -0.0281 0.0678)
OKLCHoklch(73.67% 0.073 112.5)
XYZxyz(35.3588, 40.5869, 24.0568)
Luminance0.4059 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAF79 #7E79AF
analogous
#AF9979 #AAAF79 #8FAF79
triadic
#AAAF79 #79AAAF #AF79AA
tetradic
#AAAF79 #79AF99 #7E79AF #AF798F
square
#AAAF79 #79AF99 #7E79AF #AF798F
split-complementary
#AAAF79 #798FAF #9979AF
monochromatic
#696D41 #8E9358 #AAAF79 #C2C69F #DBDDC6

Accessibility & contrast

On white

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

On black

9.12
#AAAF79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAF79
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAF79#FFFFFF#000000##000000
##AAAF791.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7AA75
Deuteranopia (green-blind)
#B7AC7B
Tritanopia (blue-blind)
#B1A9A1
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #aaaf79;
/* rgb */ color: rgb(170, 175, 121);
/* oklch */ color: oklch(73.7% 0.073 112.5);
Tailwind
colors: {
  custom: {
    50: '#c4c6a0',
    500: '#aaaf79',
    950: '#000000',
  },
}
SCSS
$custom: #aaaf79;
$custom-light: #c4c6a0;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaf79",
  "rgb": {
    "r": 170,
    "g": 175,
    "b": 121
  },
  "hsl": {
    "h": 65.556,
    "s": 25.234,
    "l": 58.039
  },
  "oklch": {
    "l": 0.73665,
    "c": 0.07334,
    "h": 112.5
  },
  "luminance": 0.40586
}

Semantic roles & 50–950 ramp

primary
#AAAF79
secondary
#B9B7CD
accent
#66C26F
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#12130E
muted
#81827E

Preview Lab

Preview with #AAAF79

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

Preview Lab → · Contrast checker → · Palette generator →

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