#AAAF59#AAAF59

#AAAF59 is a light, moderate yellow. Relative luminance 0.399; OKLCH L 73.1% C 0.110 H 111.8°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#AAAF59
RGBrgb(170, 175, 89)
HSLhsl(63, 35%, 52%)
HSVhsv(63, 49%, 69%)
CMYKcmyk(2.9%, 0%, 49.1%, 31.4%)
CIE-LABlab(69.42, -14.25, 43.11)
CIE-LCHlch(69.42, 45.41, 108.29°)
OKLaboklab(73.14% -0.0409 0.1023)
OKLCHoklch(73.14% 0.11 111.8)
XYZxyz(33.7113, 39.9279, 15.3802)
Luminance0.3993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAF59 #5E59AF
analogous
#AF8959 #AAAF59 #7FAF59
triadic
#AAAF59 #59AAAF #AF59AA
tetradic
#AAAF59 #59AF89 #5E59AF #AF597F
square
#AAAF59 #59AF89 #5E59AF #AF597F
split-complementary
#AAAF59 #597FAF #8959AF
monochromatic
#5D602E #858942 #AAAF59 #BFC382 #D4D7AC

Accessibility & contrast

On white

2.34
#AAAF59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.99
#AAAF59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAF59
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAF59#FFFFFF#000000##000000
##AAAF591.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA851
Deuteranopia (green-blind)
#BAAB5D
Tritanopia (blue-blind)
#B4A69B
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #aaaf59;
/* rgb */ color: rgb(170, 175, 89);
/* oklch */ color: oklch(73.1% 0.110 111.8);
Tailwind
colors: {
  custom: {
    50: '#c5c68a',
    500: '#aaaf59',
    950: '#000000',
  },
}
SCSS
$custom: #aaaf59;
$custom-light: #c5c68a;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaf59",
  "rgb": {
    "r": 170,
    "g": 175,
    "b": 89
  },
  "hsl": {
    "h": 63.488,
    "s": 34.959,
    "l": 51.765
  },
  "oklch": {
    "l": 0.7314,
    "c": 0.11017,
    "h": 111.8
  },
  "luminance": 0.39927
}

Semantic roles & 50–950 ramp

primary
#AAAF59
secondary
#A19FC5
accent
#5DCB63
background
#FCFCF8
surface
#F8F8F0
border
#D1D1CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #AAAF59

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

Preview Lab → · Contrast checker → · Palette generator →

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