#AAAF77#AAAF77

#AAAF77 is a light, moderate yellow. Relative luminance 0.405; OKLCH L 73.6% C 0.076 H 112.4°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#AAAF77
RGBrgb(170, 175, 119)
HSLhsl(65, 26%, 58%)
HSVhsv(65, 32%, 69%)
CMYKcmyk(2.9%, 0%, 32%, 31.4%)
CIE-LABlab(69.85, -10.86, 28.19)
CIE-LCHlch(69.85, 30.21, 111.06°)
OKLaboklab(73.63% -0.0289 0.0701)
OKLCHoklch(73.63% 0.076 112.4)
XYZxyz(35.2374, 40.5383, 23.4176)
Luminance0.4054 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAF77 #7C77AF
analogous
#AF9877 #AAAF77 #8EAF77
triadic
#AAAF77 #77AAAF #AF77AA
tetradic
#AAAF77 #77AF98 #7C77AF #AF778E
square
#AAAF77 #77AF98 #7C77AF #AF778E
split-complementary
#AAAF77 #778EAF #9877AF
monochromatic
#686C40 #8D9356 #AAAF77 #C2C69E #DADCC4

Accessibility & contrast

On white

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

On black

9.11
#AAAF77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAF77
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAF77#FFFFFF#000000##000000
##AAAF771.002.319.119.11
#FFFFFF2.311.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aaaf77;
/* rgb */ color: rgb(170, 175, 119);
/* oklch */ color: oklch(73.6% 0.076 112.4);
Tailwind
colors: {
  custom: {
    50: '#c4c69e',
    500: '#aaaf77',
    950: '#000000',
  },
}
SCSS
$custom: #aaaf77;
$custom-light: #c4c69e;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaf77",
  "rgb": {
    "r": 170,
    "g": 175,
    "b": 119
  },
  "hsl": {
    "h": 65.357,
    "s": 25.926,
    "l": 57.647
  },
  "oklch": {
    "l": 0.73626,
    "c": 0.07584,
    "h": 112.4
  },
  "luminance": 0.40538
}

Semantic roles & 50–950 ramp

primary
#AAAF77
secondary
#B8B6CC
accent
#65C26E
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13130E
muted
#82827E

Preview Lab

Preview with #AAAF77

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

Preview Lab → · Contrast checker → · Palette generator →

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