#AAAF45#AAAF45

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

Color values

HEX#AAAF45
RGBrgb(170, 175, 69)
HSLhsl(63, 43%, 48%)
HSVhsv(63, 61%, 69%)
CMYKcmyk(2.9%, 0%, 60.6%, 31.4%)
CIE-LABlab(69.21, -15.92, 52.26)
CIE-LCHlch(69.21, 54.63, 106.95°)
OKLaboklab(72.91% -0.0477 0.1198)
OKLCHoklch(72.91% 0.129 111.7)
XYZxyz(32.9826, 39.6364, 11.5422)
Luminance0.3964 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAF45 #4A45AF
analogous
#AF7F45 #AAAF45 #75AF45
triadic
#AAAF45 #45AAAF #AF45AA
tetradic
#AAAF45 #45AF7F #4A45AF #AF4575
square
#AAAF45 #45AF7F #4A45AF #AF4575
split-complementary
#AAAF45 #4575AF #7F45AF
monochromatic
#555722 #7F8334 #AAAF45 #C1C56C #D3D698

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAAF45#FFFFFF#000000##000000
##AAAF451.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)
#BCA839
Deuteranopia (green-blind)
#BCAA4C
Tritanopia (blue-blind)
#B5A599
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #aaaf45;
/* rgb */ color: rgb(170, 175, 69);
/* oklch */ color: oklch(72.9% 0.129 111.7);
Tailwind
colors: {
  custom: {
    50: '#c6c67d',
    500: '#aaaf45',
    950: '#000000',
  },
}
SCSS
$custom: #aaaf45;
$custom-light: #c6c67d;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaf45",
  "rgb": {
    "r": 170,
    "g": 175,
    "b": 69
  },
  "hsl": {
    "h": 62.83,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.72907,
    "c": 0.12893,
    "h": 111.7
  },
  "luminance": 0.39636
}

Semantic roles & 50–950 ramp

primary
#AAAF45
secondary
#908DC2
accent
#55D35B
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #AAAF45

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

Preview Lab → · Contrast checker → · Palette generator →

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