#AAAF3B#AAAF3B

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

Color values

HEX#AAAF3B
RGBrgb(170, 175, 59)
HSLhsl(63, 50%, 46%)
HSVhsv(63, 66%, 69%)
CMYKcmyk(2.9%, 0%, 66.3%, 31.4%)
CIE-LABlab(69.13, -16.59, 56.41)
CIE-LCHlch(69.13, 58.80, 106.38°)
OKLaboklab(72.82% -0.0506 0.1271)
OKLCHoklch(72.82% 0.137 111.7)
XYZxyz(32.6979, 39.5225, 10.0430)
Luminance0.3952 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAF3B #403BAF
analogous
#AF7A3B #AAAF3B #70AF3B
triadic
#AAAF3B #3BAAAF #AF3BAA
tetradic
#AAAF3B #3BAF7A #403BAF #AF3B70
square
#AAAF3B #3BAF7A #403BAF #AF3B70
split-complementary
#AAAF3B #3B70AF #7A3BAF
monochromatic
#51531C #7E812C #AAAF3B #C4C95E #D5D88C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAAF3B#FFFFFF#000000##000000
##AAAF3B1.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)
#BCA72B
Deuteranopia (green-blind)
#BDAA43
Tritanopia (blue-blind)
#B5A597
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #aaaf3b;
/* rgb */ color: rgb(170, 175, 59);
/* oklch */ color: oklch(72.8% 0.137 111.7);
Tailwind
colors: {
  custom: {
    50: '#c6c677',
    500: '#aaaf3b',
    950: '#000000',
  },
}
SCSS
$custom: #aaaf3b;
$custom-light: #c6c677;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaf3b",
  "rgb": {
    "r": 170,
    "g": 175,
    "b": 59
  },
  "hsl": {
    "h": 62.586,
    "s": 49.573,
    "l": 45.882
  },
  "oklch": {
    "l": 0.72815,
    "c": 0.13678,
    "h": 111.7
  },
  "luminance": 0.39522
}

Semantic roles & 50–950 ramp

primary
#AAAF3B
secondary
#8683C3
accent
#4FD955
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #AAAF3B

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

Preview Lab → · Contrast checker → · Palette generator →

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