#AAAF37#AAAF37

#AAAF37 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.90:1 contrast (WCAG AA passes).

Color values

HEX#AAAF37
RGBrgb(170, 175, 55)
HSLhsl(63, 52%, 45%)
HSVhsv(63, 69%, 69%)
CMYKcmyk(2.9%, 0%, 68.6%, 31.4%)
CIE-LABlab(69.10, -16.82, 57.96)
CIE-LCHlch(69.10, 60.35, 106.18°)
OKLaboklab(72.78% -0.0517 0.1297)
OKLCHoklch(72.78% 0.14 111.7)
XYZxyz(32.5981, 39.4826, 9.5174)
Luminance0.3948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAF37 #3C37AF
analogous
#AF7837 #AAAF37 #6EAF37
triadic
#AAAF37 #37AAAF #AF37AA
tetradic
#AAAF37 #37AF78 #3C37AF #AF376E
square
#AAAF37 #37AF78 #3C37AF #AF376E
split-complementary
#AAAF37 #376EAF #7837AF
monochromatic
#50521A #7D8028 #AAAF37 #C6CB59 #D6D987

Accessibility & contrast

On white

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

On black

8.90
#AAAF37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAF37
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAF37#FFFFFF#000000##000000
##AAAF371.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aaaf37;
/* rgb */ color: rgb(170, 175, 55);
/* oklch */ color: oklch(72.8% 0.140 111.7);
Tailwind
colors: {
  custom: {
    50: '#c6c675',
    500: '#aaaf37',
    950: '#000000',
  },
}
SCSS
$custom: #aaaf37;
$custom-light: #c6c675;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaf37",
  "rgb": {
    "r": 170,
    "g": 175,
    "b": 55
  },
  "hsl": {
    "h": 62.5,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.72783,
    "c": 0.13962,
    "h": 111.7
  },
  "luminance": 0.39482
}

Semantic roles & 50–950 ramp

primary
#AAAF37
secondary
#817FC3
accent
#4CDC52
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #AAAF37

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

Preview Lab → · Contrast checker → · Palette generator →

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