#AAAF3A#AAAF3A

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

Color values

HEX#AAAF3A
RGBrgb(170, 175, 58)
HSLhsl(63, 50%, 46%)
HSVhsv(63, 67%, 69%)
CMYKcmyk(2.9%, 0%, 66.9%, 31.4%)
CIE-LABlab(69.12, -16.65, 56.80)
CIE-LCHlch(69.12, 59.19, 106.33°)
OKLaboklab(72.81% -0.0509 0.1277)
OKLCHoklch(72.81% 0.138 111.7)
XYZxyz(32.6722, 39.5123, 9.9077)
Luminance0.3951 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAF3A #3F3AAF
analogous
#AF793A #AAAF3A #6FAF3A
triadic
#AAAF3A #3AAAAF #AF3AAA
tetradic
#AAAF3A #3AAF79 #3F3AAF #AF3A6F
square
#AAAF3A #3AAF79 #3F3AAF #AF3A6F
split-complementary
#AAAF3A #3A6FAF #793AAF
monochromatic
#51531C #7D812B #AAAF3A #C5C95D #D5D98B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAAF3A#FFFFFF#000000##000000
##AAAF3A1.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)
#BCA729
Deuteranopia (green-blind)
#BDAA42
Tritanopia (blue-blind)
#B5A597
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #aaaf3a;
/* rgb */ color: rgb(170, 175, 58);
/* oklch */ color: oklch(72.8% 0.138 111.7);
Tailwind
colors: {
  custom: {
    50: '#c6c677',
    500: '#aaaf3a',
    950: '#000000',
  },
}
SCSS
$custom: #aaaf3a;
$custom-light: #c6c677;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaf3a",
  "rgb": {
    "r": 170,
    "g": 175,
    "b": 58
  },
  "hsl": {
    "h": 62.564,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.72807,
    "c": 0.13751,
    "h": 111.7
  },
  "luminance": 0.39511
}

Semantic roles & 50–950 ramp

primary
#AAAF3A
secondary
#8582C3
accent
#4EDA54
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #AAAF3A

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

Preview Lab → · Contrast checker → · Palette generator →

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