#AFA06C#AFA06C

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

Color values

HEX#AFA06C
RGBrgb(175, 160, 108)
HSLhsl(47, 30%, 55%)
HSVhsv(47, 38%, 69%)
CMYKcmyk(0%, 8.6%, 38.3%, 31.4%)
CIE-LABlab(66.01, -2.23, 29.11)
CIE-LCHlch(66.01, 29.20, 94.38°)
OKLaboklab(70.63% -0.0049 0.0719)
OKLCHoklch(70.63% 0.072 93.9)
XYZxyz(32.9574, 35.3394, 19.2696)
Luminance0.3534 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA06C #6C7BAF
analogous
#AF7E6C #AFA06C #9CAF6C
triadic
#AFA06C #6CAFA0 #A06CAF
tetradic
#AFA06C #6CAF7E #6C7BAF #AF6C9C
square
#AFA06C #6CAF7E #6C7BAF #AF6C9C
split-complementary
#AFA06C #6C9CAF #7E6CAF
monochromatic
#685D39 #90814E #AFA06C #C5BA94 #DAD3BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFA06C#FFFFFF#000000##000000
##AFA06C1.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)
#AA9E68
Deuteranopia (green-blind)
#AEA26E
Tritanopia (blue-blind)
#B99893
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #afa06c;
/* rgb */ color: rgb(175, 160, 108);
/* oklch */ color: oklch(70.6% 0.072 93.9);
Tailwind
colors: {
  custom: {
    50: '#c8bc96',
    500: '#afa06c',
    950: '#000000',
  },
}
SCSS
$custom: #afa06c;
$custom-light: #c8bc96;
$custom-dark: #000000;
JSON
{
  "hex": "#afa06c",
  "rgb": {
    "r": 175,
    "g": 160,
    "b": 108
  },
  "hsl": {
    "h": 46.567,
    "s": 29.515,
    "l": 55.49
  },
  "oklch": {
    "l": 0.70626,
    "c": 0.07203,
    "h": 93.9
  },
  "luminance": 0.35338
}

Semantic roles & 50–950 ramp

primary
#AFA06C
secondary
#ADB4C9
accent
#78C662
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13110D
muted
#82807E

Preview Lab

Preview with #AFA06C

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

Preview Lab → · Contrast checker → · Palette generator →

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