#AAAF4F#AAAF4F

#AAAF4F is a light, vivid yellow. Relative luminance 0.398; OKLCH L 73.0% C 0.120 H 111.7°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#AAAF4F
RGBrgb(170, 175, 79)
HSLhsl(63, 38%, 50%)
HSVhsv(63, 55%, 69%)
CMYKcmyk(2.9%, 0%, 54.9%, 31.4%)
CIE-LABlab(69.31, -15.15, 47.80)
CIE-LCHlch(69.31, 50.15, 107.58°)
OKLaboklab(73.02% -0.0445 0.1115)
OKLCHoklch(73.02% 0.12 111.7)
XYZxyz(33.3196, 39.7712, 13.3170)
Luminance0.3977 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAF4F #544FAF
analogous
#AF844F #AAAF4F #7AAF4F
triadic
#AAAF4F #4FAAAF #AF4FAA
tetradic
#AAAF4F #4FAF84 #544FAF #AF4F7A
square
#AAAF4F #4FAF84 #544FAF #AF4F7A
split-complementary
#AAAF4F #4F7AAF #844FAF
monochromatic
#585B29 #81853C #AAAF4F #BFC279 #D3D5A3

Accessibility & contrast

On white

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

On black

8.95
#AAAF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAF4F
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAF4F#FFFFFF#000000##000000
##AAAF4F1.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aaaf4f;
/* rgb */ color: rgb(170, 175, 79);
/* oklch */ color: oklch(73.0% 0.120 111.7);
Tailwind
colors: {
  custom: {
    50: '#c5c683',
    500: '#aaaf4f',
    950: '#000000',
  },
}
SCSS
$custom: #aaaf4f;
$custom-light: #c5c683;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaf4f",
  "rgb": {
    "r": 170,
    "g": 175,
    "b": 79
  },
  "hsl": {
    "h": 63.125,
    "s": 37.795,
    "l": 49.804
  },
  "oklch": {
    "l": 0.73015,
    "c": 0.12003,
    "h": 111.7
  },
  "luminance": 0.39771
}

Semantic roles & 50–950 ramp

primary
#AAAF4F
secondary
#9997C3
accent
#5ACE60
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #AAAF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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