#AAAF56#AAAF56

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

Color values

HEX#AAAF56
RGBrgb(170, 175, 86)
HSLhsl(63, 36%, 51%)
HSVhsv(63, 51%, 69%)
CMYKcmyk(2.9%, 0%, 50.9%, 31.4%)
CIE-LABlab(69.38, -14.53, 44.54)
CIE-LCHlch(69.38, 46.85, 108.07°)
OKLaboklab(73.1% -0.042 0.1052)
OKLCHoklch(73.1% 0.113 111.8)
XYZxyz(33.5879, 39.8785, 14.7303)
Luminance0.3988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAF56 #5B56AF
analogous
#AF8756 #AAAF56 #7DAF56
triadic
#AAAF56 #56AAAF #AF56AA
tetradic
#AAAF56 #56AF87 #5B56AF #AF567D
square
#AAAF56 #56AF87 #5B56AF #AF567D
split-complementary
#AAAF56 #567DAF #8756AF
monochromatic
#5B5E2D #848840 #AAAF56 #BFC380 #D4D6A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAAF56#FFFFFF#000000##000000
##AAAF561.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)
#BAA84E
Deuteranopia (green-blind)
#BBAB5B
Tritanopia (blue-blind)
#B4A69B
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #aaaf56;
/* rgb */ color: rgb(170, 175, 86);
/* oklch */ color: oklch(73.1% 0.113 111.8);
Tailwind
colors: {
  custom: {
    50: '#c5c688',
    500: '#aaaf56',
    950: '#000000',
  },
}
SCSS
$custom: #aaaf56;
$custom-light: #c5c688;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaf56",
  "rgb": {
    "r": 170,
    "g": 175,
    "b": 86
  },
  "hsl": {
    "h": 63.371,
    "s": 35.743,
    "l": 51.176
  },
  "oklch": {
    "l": 0.73101,
    "c": 0.11322,
    "h": 111.8
  },
  "luminance": 0.39878
}

Semantic roles & 50–950 ramp

primary
#AAAF56
secondary
#9F9DC4
accent
#5CCC62
background
#FCFCF8
surface
#F8F8F0
border
#D1D1CB
text
#13130B
muted
#82827C

Preview Lab

Preview with #AAAF56

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

Preview Lab → · Contrast checker → · Palette generator →

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