#AAAF57#AAAF57

#AAAF57 is a light, moderate yellow. Relative luminance 0.399; OKLCH L 73.1% C 0.112 H 111.8°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#AAAF57
RGBrgb(170, 175, 87)
HSLhsl(63, 35%, 51%)
HSVhsv(63, 50%, 69%)
CMYKcmyk(2.9%, 0%, 50.3%, 31.4%)
CIE-LABlab(69.39, -14.44, 44.07)
CIE-LCHlch(69.39, 46.37, 108.14°)
OKLaboklab(73.11% -0.0416 0.1042)
OKLCHoklch(73.11% 0.112 111.8)
XYZxyz(33.6285, 39.8948, 14.9439)
Luminance0.3989 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAF57 #5C57AF
analogous
#AF8857 #AAAF57 #7EAF57
triadic
#AAAF57 #57AAAF #AF57AA
tetradic
#AAAF57 #57AF88 #5C57AF #AF577E
square
#AAAF57 #57AF88 #5C57AF #AF577E
split-complementary
#AAAF57 #577EAF #8857AF
monochromatic
#5C5F2D #848841 #AAAF57 #BFC380 #D4D6AA

Accessibility & contrast

On white

2.34
#AAAF57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#AAAF57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAF57
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAF57#FFFFFF#000000##000000
##AAAF571.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA84F
Deuteranopia (green-blind)
#BBAB5C
Tritanopia (blue-blind)
#B4A69B
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #aaaf57;
/* rgb */ color: rgb(170, 175, 87);
/* oklch */ color: oklch(73.1% 0.112 111.8);
Tailwind
colors: {
  custom: {
    50: '#c5c689',
    500: '#aaaf57',
    950: '#000000',
  },
}
SCSS
$custom: #aaaf57;
$custom-light: #c5c689;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaf57",
  "rgb": {
    "r": 170,
    "g": 175,
    "b": 87
  },
  "hsl": {
    "h": 63.409,
    "s": 35.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.73114,
    "c": 0.1122,
    "h": 111.8
  },
  "luminance": 0.39894
}

Semantic roles & 50–950 ramp

primary
#AAAF57
secondary
#A09EC4
accent
#5CCC63
background
#FCFCF8
surface
#F8F8F0
border
#D1D1CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #AAAF57

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

Preview Lab → · Contrast checker → · Palette generator →

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