#AAAF36#AAAF36

#AAAF36 is a light, vivid yellow. Relative luminance 0.395; OKLCH L 72.8% C 0.140 H 111.7°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#AAAF36
RGBrgb(170, 175, 54)
HSLhsl(62, 53%, 45%)
HSVhsv(62, 69%, 69%)
CMYKcmyk(2.9%, 0%, 69.1%, 31.4%)
CIE-LABlab(69.09, -16.87, 58.34)
CIE-LCHlch(69.09, 60.73, 106.13°)
OKLaboklab(72.78% -0.052 0.1303)
OKLCHoklch(72.78% 0.14 111.7)
XYZxyz(32.5744, 39.4731, 9.3924)
Luminance0.3947 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAF36 #3B36AF
analogous
#AF7736 #AAAF36 #6EAF36
triadic
#AAAF36 #36AAAF #AF36AA
tetradic
#AAAF36 #36AF77 #3B36AF #AF366E
square
#AAAF36 #36AF77 #3B36AF #AF366E
split-complementary
#AAAF36 #366EAF #7736AF
monochromatic
#4F5119 #7D8028 #AAAF36 #C6CB57 #D6DA86

Accessibility & contrast

On white

2.36
#AAAF36 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#AAAF36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAF36
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAF36#FFFFFF#000000##000000
##AAAF361.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA723
Deuteranopia (green-blind)
#BDAA3F
Tritanopia (blue-blind)
#B6A497
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #aaaf36;
/* rgb */ color: rgb(170, 175, 54);
/* oklch */ color: oklch(72.8% 0.140 111.7);
Tailwind
colors: {
  custom: {
    50: '#c6c675',
    500: '#aaaf36',
    950: '#000000',
  },
}
SCSS
$custom: #aaaf36;
$custom-light: #c6c675;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaf36",
  "rgb": {
    "r": 170,
    "g": 175,
    "b": 54
  },
  "hsl": {
    "h": 62.479,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.72776,
    "c": 0.1403,
    "h": 111.7
  },
  "luminance": 0.39472
}

Semantic roles & 50–950 ramp

primary
#AAAF36
secondary
#807DC3
accent
#4CDC52
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #AAAF36

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

Preview Lab → · Contrast checker → · Palette generator →

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