#AAAF3F#AAAF3F

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

Color values

HEX#AAAF3F
RGBrgb(170, 175, 63)
HSLhsl(63, 47%, 47%)
HSVhsv(63, 64%, 69%)
CMYKcmyk(2.9%, 0%, 64%, 31.4%)
CIE-LABlab(69.16, -16.33, 54.79)
CIE-LCHlch(69.16, 57.17, 106.60°)
OKLaboklab(72.85% -0.0495 0.1243)
OKLCHoklch(72.85% 0.134 111.7)
XYZxyz(32.8057, 39.5656, 10.6105)
Luminance0.3957 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAF3F #443FAF
analogous
#AF7C3F #AAAF3F #72AF3F
triadic
#AAAF3F #3FAAAF #AF3FAA
tetradic
#AAAF3F #3FAF7C #443FAF #AF3F72
square
#AAAF3F #3FAF7C #443FAF #AF3F72
split-complementary
#AAAF3F #3F72AF #7C3FAF
monochromatic
#53551F #7E822F #AAAF3F #C3C764 #D4D791

Accessibility & contrast

On white

2.36
#AAAF3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#AAAF3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAF3F
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAF3F#FFFFFF#000000##000000
##AAAF3F1.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA730
Deuteranopia (green-blind)
#BCAA46
Tritanopia (blue-blind)
#B5A598
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #aaaf3f;
/* rgb */ color: rgb(170, 175, 63);
/* oklch */ color: oklch(72.9% 0.134 111.7);
Tailwind
colors: {
  custom: {
    50: '#c6c67a',
    500: '#aaaf3f',
    950: '#000000',
  },
}
SCSS
$custom: #aaaf3f;
$custom-light: #c6c67a;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaf3f",
  "rgb": {
    "r": 170,
    "g": 175,
    "b": 63
  },
  "hsl": {
    "h": 62.679,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.7285,
    "c": 0.13378,
    "h": 111.7
  },
  "luminance": 0.39565
}

Semantic roles & 50–950 ramp

primary
#AAAF3F
secondary
#8A87C3
accent
#51D757
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#131309
muted
#82827B

Preview Lab

Preview with #AAAF3F

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

Preview Lab → · Contrast checker → · Palette generator →

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