#AFAA66#AFAA66

#AFAA66 is a light, moderate yellow. Relative luminance 0.388; OKLCH L 72.7% C 0.089 H 104.7°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#AFAA66
RGBrgb(175, 170, 102)
HSLhsl(56, 31%, 54%)
HSVhsv(56, 42%, 69%)
CMYKcmyk(0%, 2.9%, 41.7%, 31.4%)
CIE-LABlab(68.62, -8.25, 35.64)
CIE-LCHlch(68.62, 36.58, 103.04°)
OKLaboklab(72.66% -0.0228 0.0865)
OKLCHoklch(72.66% 0.089 104.7)
XYZxyz(34.4528, 38.8236, 18.2466)
Luminance0.3882 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAA66 #666BAF
analogous
#AF8666 #AFAA66 #90AF66
triadic
#AFAA66 #66AFAA #AA66AF
tetradic
#AFAA66 #66AF86 #666BAF #AF6690
square
#AFAA66 #66AF86 #666BAF #AF6690
split-complementary
#AFAA66 #6690AF #8666AF
monochromatic
#666235 #8E894A #AFAA66 #C4C08E #D9D7B6

Accessibility & contrast

On white

2.40
#AFAA66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#AFAA66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAA66
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAA66#FFFFFF#000000##000000
##AFAA661.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A561
Deuteranopia (green-blind)
#B7A969
Tritanopia (blue-blind)
#B9A299
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #afaa66;
/* rgb */ color: rgb(175, 170, 102);
/* oklch */ color: oklch(72.7% 0.089 104.7);
Tailwind
colors: {
  custom: {
    50: '#c8c393',
    500: '#afaa66',
    950: '#000000',
  },
}
SCSS
$custom: #afaa66;
$custom-light: #c8c393;
$custom-dark: #000000;
JSON
{
  "hex": "#afaa66",
  "rgb": {
    "r": 175,
    "g": 170,
    "b": 102
  },
  "hsl": {
    "h": 55.89,
    "s": 31.33,
    "l": 54.314
  },
  "oklch": {
    "l": 0.72663,
    "c": 0.08947,
    "h": 104.7
  },
  "luminance": 0.38823
}

Semantic roles & 50–950 ramp

primary
#AFAA66
secondary
#A9ABC8
accent
#67C860
background
#FCFBF9
surface
#F8F7F1
border
#D1D0CB
text
#13120D
muted
#82817E

Preview Lab

Preview with #AFAA66

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

Preview Lab → · Contrast checker → · Palette generator →

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