#AF9F66#AF9F66

#AF9F66 is a light, moderate yellow. Relative luminance 0.349; OKLCH L 70.3% C 0.078 H 94.3°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#AF9F66
RGBrgb(175, 159, 102)
HSLhsl(47, 31%, 54%)
HSVhsv(47, 42%, 69%)
CMYKcmyk(0%, 9.1%, 41.7%, 31.4%)
CIE-LABlab(65.65, -2.38, 31.85)
CIE-LCHlch(65.65, 31.94, 94.27°)
OKLaboklab(70.31% -0.0058 0.0779)
OKLCHoklch(70.31% 0.078 94.3)
XYZxyz(32.4764, 34.8707, 17.5878)
Luminance0.3487 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9F66 #6676AF
analogous
#AF7B66 #AF9F66 #9BAF66
triadic
#AF9F66 #66AF9F #9F66AF
tetradic
#AF9F66 #66AF7B #6676AF #AF669B
square
#AF9F66 #66AF7B #6676AF #AF669B
split-complementary
#AF9F66 #669BAF #7B66AF
monochromatic
#665B35 #8E7F4A #AF9F66 #C4B88E #D9D1B6

Accessibility & contrast

On white

2.63
#AF9F66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#AF9F66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9F66
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9F66#FFFFFF#000000##000000
##AF9F661.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9D62
Deuteranopia (green-blind)
#AEA268
Tritanopia (blue-blind)
#B99791
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #af9f66;
/* rgb */ color: rgb(175, 159, 102);
/* oklch */ color: oklch(70.3% 0.078 94.3);
Tailwind
colors: {
  custom: {
    50: '#c8bb92',
    500: '#af9f66',
    950: '#000000',
  },
}
SCSS
$custom: #af9f66;
$custom-light: #c8bb92;
$custom-dark: #000000;
JSON
{
  "hex": "#af9f66",
  "rgb": {
    "r": 175,
    "g": 159,
    "b": 102
  },
  "hsl": {
    "h": 46.849,
    "s": 31.33,
    "l": 54.314
  },
  "oklch": {
    "l": 0.70307,
    "c": 0.07813,
    "h": 94.3
  },
  "luminance": 0.3487
}

Semantic roles & 50–950 ramp

primary
#AF9F66
secondary
#A9B0C8
accent
#77C860
background
#FCFBF9
surface
#F8F6F1
border
#D1D0CB
text
#13110D
muted
#82807E

Preview Lab

Preview with #AF9F66

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

Preview Lab → · Contrast checker → · Palette generator →

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