#AAAF46#AAAF46

#AAAF46 is a light, vivid yellow. Relative luminance 0.396; OKLCH L 72.9% C 0.128 H 111.7°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#AAAF46
RGBrgb(170, 175, 70)
HSLhsl(63, 43%, 48%)
HSVhsv(63, 60%, 69%)
CMYKcmyk(2.9%, 0%, 60%, 31.4%)
CIE-LABlab(69.22, -15.85, 51.83)
CIE-LCHlch(69.22, 54.20, 107.01°)
OKLaboklab(72.92% -0.0474 0.119)
OKLCHoklch(72.92% 0.128 111.7)
XYZxyz(33.0139, 39.6489, 11.7071)
Luminance0.3965 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAF46 #4B46AF
analogous
#AF7F46 #AAAF46 #75AF46
triadic
#AAAF46 #46AAAF #AF46AA
tetradic
#AAAF46 #46AF7F #4B46AF #AF4675
square
#AAAF46 #46AF7F #4B46AF #AF4675
split-complementary
#AAAF46 #4675AF #7F46AF
monochromatic
#555823 #808335 #AAAF46 #C1C56D #D3D699

Accessibility & contrast

On white

2.35
#AAAF46 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#AAAF46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAF46
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAF46#FFFFFF#000000##000000
##AAAF461.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA83A
Deuteranopia (green-blind)
#BCAA4C
Tritanopia (blue-blind)
#B5A599
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #aaaf46;
/* rgb */ color: rgb(170, 175, 70);
/* oklch */ color: oklch(72.9% 0.128 111.7);
Tailwind
colors: {
  custom: {
    50: '#c6c67e',
    500: '#aaaf46',
    950: '#000000',
  },
}
SCSS
$custom: #aaaf46;
$custom-light: #c6c67e;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaf46",
  "rgb": {
    "r": 170,
    "g": 175,
    "b": 70
  },
  "hsl": {
    "h": 62.857,
    "s": 42.857,
    "l": 48.039
  },
  "oklch": {
    "l": 0.72917,
    "c": 0.12809,
    "h": 111.7
  },
  "luminance": 0.39648
}

Semantic roles & 50–950 ramp

primary
#AAAF46
secondary
#918EC2
accent
#55D35B
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #AAAF46

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

Preview Lab → · Contrast checker → · Palette generator →

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