#AFA06B#AFA06B

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

Color values

HEX#AFA06B
RGBrgb(175, 160, 107)
HSLhsl(47, 30%, 55%)
HSVhsv(47, 39%, 69%)
CMYKcmyk(0%, 8.6%, 38.9%, 31.4%)
CIE-LABlab(66.00, -2.35, 29.63)
CIE-LCHlch(66.00, 29.72, 94.53°)
OKLaboklab(70.61% -0.0053 0.073)
OKLCHoklch(70.61% 0.073 94.2)
XYZxyz(32.9045, 35.3182, 18.9909)
Luminance0.3532 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA06B #6B7AAF
analogous
#AF7E6B #AFA06B #9CAF6B
triadic
#AFA06B #6BAFA0 #A06BAF
tetradic
#AFA06B #6BAF7E #6B7AAF #AF6B9C
square
#AFA06B #6BAF7E #6B7AAF #AF6B9C
split-complementary
#AFA06B #6B9CAF #7E6BAF
monochromatic
#685D38 #8F814D #AFA06B #C4BA93 #DAD3BA

Accessibility & contrast

On white

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

On black

8.06
#AFA06B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA06B
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA06B#FFFFFF#000000##000000
##AFA06B1.002.608.068.06
#FFFFFF2.601.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afa06b;
/* rgb */ color: rgb(175, 160, 107);
/* oklch */ color: oklch(70.6% 0.073 94.2);
Tailwind
colors: {
  custom: {
    50: '#c8bc96',
    500: '#afa06b',
    950: '#000000',
  },
}
SCSS
$custom: #afa06b;
$custom-light: #c8bc96;
$custom-dark: #000000;
JSON
{
  "hex": "#afa06b",
  "rgb": {
    "r": 175,
    "g": 160,
    "b": 107
  },
  "hsl": {
    "h": 46.765,
    "s": 29.825,
    "l": 55.294
  },
  "oklch": {
    "l": 0.70608,
    "c": 0.07321,
    "h": 94.2
  },
  "luminance": 0.35317
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFA06B

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

Preview Lab → · Contrast checker → · Palette generator →

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