#AFA466#AFA466

#AFA466 is a light, moderate yellow. Relative luminance 0.366; OKLCH L 71.4% C 0.083 H 99.4°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#AFA466
RGBrgb(175, 164, 102)
HSLhsl(51, 31%, 54%)
HSVhsv(51, 42%, 69%)
CMYKcmyk(0%, 6.3%, 41.7%, 31.4%)
CIE-LABlab(66.99, -5.06, 33.57)
CIE-LCHlch(66.99, 33.95, 98.58°)
OKLaboklab(71.37% -0.0136 0.0818)
OKLCHoklch(71.37% 0.083 99.4)
XYZxyz(33.3536, 36.6252, 17.8802)
Luminance0.3662 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA466 #6671AF
analogous
#AF8066 #AFA466 #96AF66
triadic
#AFA466 #66AFA4 #A466AF
tetradic
#AFA466 #66AF80 #6671AF #AF6696
square
#AFA466 #66AF80 #6671AF #AF6696
split-complementary
#AFA466 #6696AF #8066AF
monochromatic
#665E35 #8E844A #AFA466 #C4BC8E #D9D4B6

Accessibility & contrast

On white

2.52
#AFA466 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#AFA466 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA466
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA466#FFFFFF#000000##000000
##AFA4661.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA161
Deuteranopia (green-blind)
#B2A568
Tritanopia (blue-blind)
#B99C95
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #afa466;
/* rgb */ color: rgb(175, 164, 102);
/* oklch */ color: oklch(71.4% 0.083 99.4);
Tailwind
colors: {
  custom: {
    50: '#c8be92',
    500: '#afa466',
    950: '#000000',
  },
}
SCSS
$custom: #afa466;
$custom-light: #c8be92;
$custom-dark: #000000;
JSON
{
  "hex": "#afa466",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 102
  },
  "hsl": {
    "h": 50.959,
    "s": 31.33,
    "l": 54.314
  },
  "oklch": {
    "l": 0.71373,
    "c": 0.08296,
    "h": 99.4
  },
  "luminance": 0.36624
}

Semantic roles & 50–950 ramp

primary
#AFA466
secondary
#A9AEC8
accent
#70C860
background
#FCFBF9
surface
#F8F6F1
border
#D1D0CB
text
#13120D
muted
#82817E

Preview Lab

Preview with #AFA466

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

Preview Lab → · Contrast checker → · Palette generator →

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