#AAAF3D#AAAF3D

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

Color values

HEX#AAAF3D
RGBrgb(170, 175, 61)
HSLhsl(63, 48%, 46%)
HSVhsv(63, 65%, 69%)
CMYKcmyk(2.9%, 0%, 65.1%, 31.4%)
CIE-LABlab(69.14, -16.46, 55.61)
CIE-LCHlch(69.14, 57.99, 106.49°)
OKLaboklab(72.83% -0.0501 0.1257)
OKLCHoklch(72.83% 0.135 111.7)
XYZxyz(32.7508, 39.5437, 10.3214)
Luminance0.3954 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAF3D #423DAF
analogous
#AF7B3D #AAAF3D #71AF3D
triadic
#AAAF3D #3DAAAF #AF3DAA
tetradic
#AAAF3D #3DAF7B #423DAF #AF3D71
square
#AAAF3D #3DAF7B #423DAF #AF3D71
split-complementary
#AAAF3D #3D71AF #7B3DAF
monochromatic
#52541D #7E822D #AAAF3D #C3C861 #D5D88F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAAF3D#FFFFFF#000000##000000
##AAAF3D1.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)
#BCA72E
Deuteranopia (green-blind)
#BDAA45
Tritanopia (blue-blind)
#B5A598
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #aaaf3d;
/* rgb */ color: rgb(170, 175, 61);
/* oklch */ color: oklch(72.8% 0.135 111.7);
Tailwind
colors: {
  custom: {
    50: '#c6c678',
    500: '#aaaf3d',
    950: '#000000',
  },
}
SCSS
$custom: #aaaf3d;
$custom-light: #c6c678;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaf3d",
  "rgb": {
    "r": 170,
    "g": 175,
    "b": 61
  },
  "hsl": {
    "h": 62.632,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.72832,
    "c": 0.13531,
    "h": 111.7
  },
  "luminance": 0.39543
}

Semantic roles & 50–950 ramp

primary
#AAAF3D
secondary
#8885C3
accent
#50D856
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#131309
muted
#82827B

Preview Lab

Preview with #AAAF3D

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

Preview Lab → · Contrast checker → · Palette generator →

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