#AFA06D#AFA06D

#AFA06D is a light, moderate yellow. Relative luminance 0.354; OKLCH L 70.6% C 0.071 H 93.6°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#AFA06D
RGBrgb(175, 160, 109)
HSLhsl(46, 29%, 56%)
HSVhsv(46, 38%, 69%)
CMYKcmyk(0%, 8.6%, 37.7%, 31.4%)
CIE-LABlab(66.03, -2.11, 28.60)
CIE-LCHlch(66.03, 28.67, 94.22°)
OKLaboklab(70.65% -0.0045 0.0707)
OKLCHoklch(70.65% 0.071 93.6)
XYZxyz(33.0109, 35.3608, 19.5514)
Luminance0.3536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA06D #6D7CAF
analogous
#AF7F6D #AFA06D #9DAF6D
triadic
#AFA06D #6DAFA0 #A06DAF
tetradic
#AFA06D #6DAF7F #6D7CAF #AF6D9D
square
#AFA06D #6DAF7F #6D7CAF #AF6D9D
split-complementary
#AFA06D #6D9DAF #7F6DAF
monochromatic
#685E39 #90814F #AFA06D #C5BA95 #DAD3BC

Accessibility & contrast

On white

2.60
#AFA06D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#AFA06D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA06D
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA06D#FFFFFF#000000##000000
##AFA06D1.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9E69
Deuteranopia (green-blind)
#AEA26F
Tritanopia (blue-blind)
#B99893
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #afa06d;
/* rgb */ color: rgb(175, 160, 109);
/* oklch */ color: oklch(70.6% 0.071 93.6);
Tailwind
colors: {
  custom: {
    50: '#c8bc97',
    500: '#afa06d',
    950: '#000000',
  },
}
SCSS
$custom: #afa06d;
$custom-light: #c8bc97;
$custom-dark: #000000;
JSON
{
  "hex": "#afa06d",
  "rgb": {
    "r": 175,
    "g": 160,
    "b": 109
  },
  "hsl": {
    "h": 46.364,
    "s": 29.204,
    "l": 55.686
  },
  "oklch": {
    "l": 0.70645,
    "c": 0.07084,
    "h": 93.6
  },
  "luminance": 0.3536
}

Semantic roles & 50–950 ramp

primary
#AFA06D
secondary
#AEB4CA
accent
#79C562
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13110D
muted
#82807E

Preview Lab

Preview with #AFA06D

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

Preview Lab → · Contrast checker → · Palette generator →

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