#AAAF3C#AAAF3C

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

Color values

HEX#AAAF3C
RGBrgb(170, 175, 60)
HSLhsl(63, 49%, 46%)
HSVhsv(63, 66%, 69%)
CMYKcmyk(2.9%, 0%, 65.7%, 31.4%)
CIE-LABlab(69.14, -16.52, 56.01)
CIE-LCHlch(69.14, 58.40, 106.44°)
OKLaboklab(72.82% -0.0504 0.1264)
OKLCHoklch(72.82% 0.136 111.7)
XYZxyz(32.7241, 39.5330, 10.1809)
Luminance0.3953 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAF3C #413CAF
analogous
#AF7A3C #AAAF3C #70AF3C
triadic
#AAAF3C #3CAAAF #AF3CAA
tetradic
#AAAF3C #3CAF7A #413CAF #AF3C70
square
#AAAF3C #3CAF7A #413CAF #AF3C70
split-complementary
#AAAF3C #3C70AF #7A3CAF
monochromatic
#51541D #7E812C #AAAF3C #C4C860 #D5D88D

Accessibility & contrast

On white

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

On black

8.91
#AAAF3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAF3C
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAF3C#FFFFFF#000000##000000
##AAAF3C1.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA72C
Deuteranopia (green-blind)
#BDAA44
Tritanopia (blue-blind)
#B5A598
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #aaaf3c;
/* rgb */ color: rgb(170, 175, 60);
/* oklch */ color: oklch(72.8% 0.136 111.7);
Tailwind
colors: {
  custom: {
    50: '#c6c678',
    500: '#aaaf3c',
    950: '#000000',
  },
}
SCSS
$custom: #aaaf3c;
$custom-light: #c6c678;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaf3c",
  "rgb": {
    "r": 170,
    "g": 175,
    "b": 60
  },
  "hsl": {
    "h": 62.609,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.72824,
    "c": 0.13605,
    "h": 111.7
  },
  "luminance": 0.39532
}

Semantic roles & 50–950 ramp

primary
#AAAF3C
secondary
#8784C3
accent
#4FD855
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#131309
muted
#82827B

Preview Lab

Preview with #AAAF3C

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

Preview Lab → · Contrast checker → · Palette generator →

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