#AFA66A#AFA66A

#AFA66A is a light, moderate yellow. Relative luminance 0.374; OKLCH L 71.9% C 0.080 H 100.8°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#AFA66A
RGBrgb(175, 166, 106)
HSLhsl(52, 30%, 55%)
HSVhsv(52, 39%, 69%)
CMYKcmyk(0%, 5.1%, 39.4%, 31.4%)
CIE-LABlab(67.60, -5.68, 32.23)
CIE-LCHlch(67.60, 32.73, 100.00°)
OKLaboklab(71.87% -0.015 0.079)
OKLCHoklch(71.87% 0.08 100.8)
XYZxyz(33.9175, 37.4279, 19.0705)
Luminance0.3743 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA66A #6A73AF
analogous
#AF836A #AFA66A #95AF6A
triadic
#AFA66A #6AAFA6 #A66AAF
tetradic
#AFA66A #6AAF83 #6A73AF #AF6A95
square
#AFA66A #6AAF83 #6A73AF #AF6A95
split-complementary
#AFA66A #6A95AF #836AAF
monochromatic
#676137 #8F864D #AFA66A #C4BE92 #DAD6BA

Accessibility & contrast

On white

2.47
#AFA66A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#AFA66A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA66A
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA66A#FFFFFF#000000##000000
##AFA66A1.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A266
Deuteranopia (green-blind)
#B3A66C
Tritanopia (blue-blind)
#B99E97
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #afa66a;
/* rgb */ color: rgb(175, 166, 106);
/* oklch */ color: oklch(71.9% 0.080 100.8);
Tailwind
colors: {
  custom: {
    50: '#c8c095',
    500: '#afa66a',
    950: '#000000',
  },
}
SCSS
$custom: #afa66a;
$custom-light: #c8c095;
$custom-dark: #000000;
JSON
{
  "hex": "#afa66a",
  "rgb": {
    "r": 175,
    "g": 166,
    "b": 106
  },
  "hsl": {
    "h": 52.174,
    "s": 30.131,
    "l": 55.098
  },
  "oklch": {
    "l": 0.71869,
    "c": 0.08039,
    "h": 100.8
  },
  "luminance": 0.37427
}

Semantic roles & 50–950 ramp

primary
#AFA66A
secondary
#ACB0C9
accent
#6FC661
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120D
muted
#82817E

Preview Lab

Preview with #AFA66A

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

Preview Lab → · Contrast checker → · Palette generator →

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