#AAAF50#AAAF50

#AAAF50 is a light, moderate yellow. Relative luminance 0.398; OKLCH L 73.0% C 0.119 H 111.7°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#AAAF50
RGBrgb(170, 175, 80)
HSLhsl(63, 37%, 50%)
HSVhsv(63, 54%, 69%)
CMYKcmyk(2.9%, 0%, 54.3%, 31.4%)
CIE-LABlab(69.32, -15.06, 47.34)
CIE-LCHlch(69.32, 49.68, 107.65°)
OKLaboklab(73.03% -0.0441 0.1106)
OKLCHoklch(73.03% 0.119 111.7)
XYZxyz(33.3562, 39.7859, 13.5102)
Luminance0.3978 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAF50 #5550AF
analogous
#AF8550 #AAAF50 #7AAF50
triadic
#AAAF50 #50AAAF #AF50AA
tetradic
#AAAF50 #50AF85 #5550AF #AF507A
square
#AAAF50 #50AF85 #5550AF #AF507A
split-complementary
#AAAF50 #507AAF #8550AF
monochromatic
#585B2A #81853D #AAAF50 #BEC27A #D3D5A4

Accessibility & contrast

On white

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

On black

8.96
#AAAF50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAF50
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAF50#FFFFFF#000000##000000
##AAAF501.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA847
Deuteranopia (green-blind)
#BBAB55
Tritanopia (blue-blind)
#B4A69A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #aaaf50;
/* rgb */ color: rgb(170, 175, 80);
/* oklch */ color: oklch(73.0% 0.119 111.7);
Tailwind
colors: {
  custom: {
    50: '#c5c684',
    500: '#aaaf50',
    950: '#000000',
  },
}
SCSS
$custom: #aaaf50;
$custom-light: #c5c684;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaf50",
  "rgb": {
    "r": 170,
    "g": 175,
    "b": 80
  },
  "hsl": {
    "h": 63.158,
    "s": 37.255,
    "l": 50
  },
  "oklch": {
    "l": 0.73027,
    "c": 0.11908,
    "h": 111.7
  },
  "luminance": 0.39785
}

Semantic roles & 50–950 ramp

primary
#AAAF50
secondary
#9A98C3
accent
#5BCD61
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #AAAF50

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

Preview Lab → · Contrast checker → · Palette generator →

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