#AAAF54#AAAF54

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

Color values

HEX#AAAF54
RGBrgb(170, 175, 84)
HSLhsl(63, 36%, 51%)
HSVhsv(63, 52%, 69%)
CMYKcmyk(2.9%, 0%, 52%, 31.4%)
CIE-LABlab(69.36, -14.71, 45.48)
CIE-LCHlch(69.36, 47.80, 107.93°)
OKLaboklab(73.08% -0.0427 0.107)
OKLCHoklch(73.08% 0.115 111.8)
XYZxyz(33.5085, 39.8467, 14.3118)
Luminance0.3985 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAF54 #5954AF
analogous
#AF8654 #AAAF54 #7CAF54
triadic
#AAAF54 #54AAAF #AF54AA
tetradic
#AAAF54 #54AF86 #5954AF #AF547C
square
#AAAF54 #54AF86 #5954AF #AF547C
split-complementary
#AAAF54 #547CAF #8654AF
monochromatic
#5A5D2C #83873F #AAAF54 #BFC37E #D3D6A7

Accessibility & contrast

On white

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

On black

8.97
#AAAF54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAF54
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAF54#FFFFFF#000000##000000
##AAAF541.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA84B
Deuteranopia (green-blind)
#BBAB59
Tritanopia (blue-blind)
#B4A69A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #aaaf54;
/* rgb */ color: rgb(170, 175, 84);
/* oklch */ color: oklch(73.1% 0.115 111.8);
Tailwind
colors: {
  custom: {
    50: '#c5c687',
    500: '#aaaf54',
    950: '#000000',
  },
}
SCSS
$custom: #aaaf54;
$custom-light: #c5c687;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaf54",
  "rgb": {
    "r": 170,
    "g": 175,
    "b": 84
  },
  "hsl": {
    "h": 63.297,
    "s": 36.255,
    "l": 50.784
  },
  "oklch": {
    "l": 0.73075,
    "c": 0.11521,
    "h": 111.8
  },
  "luminance": 0.39846
}

Semantic roles & 50–950 ramp

primary
#AAAF54
secondary
#9D9BC4
accent
#5CCC62
background
#FCFCF8
surface
#F8F8F0
border
#D1D1CB
text
#13130B
muted
#82827C

Preview Lab

Preview with #AAAF54

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

Preview Lab → · Contrast checker → · Palette generator →

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