#AFA06A#AFA06A

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

Color values

HEX#AFA06A
RGBrgb(175, 160, 106)
HSLhsl(47, 30%, 55%)
HSVhsv(47, 39%, 69%)
CMYKcmyk(0%, 8.6%, 39.4%, 31.4%)
CIE-LABlab(65.98, -2.46, 30.14)
CIE-LCHlch(65.98, 30.24, 94.67°)
OKLaboklab(70.59% -0.0057 0.0742)
OKLCHoklch(70.59% 0.074 94.4)
XYZxyz(32.8522, 35.2973, 18.7154)
Luminance0.3530 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA06A #6A79AF
analogous
#AF7E6A #AFA06A #9BAF6A
triadic
#AFA06A #6AAFA0 #A06AAF
tetradic
#AFA06A #6AAF7E #6A79AF #AF6A9B
square
#AFA06A #6AAF7E #6A79AF #AF6A9B
split-complementary
#AFA06A #6A9BAF #7E6AAF
monochromatic
#675D37 #8F814D #AFA06A #C4B992 #DAD3BA

Accessibility & contrast

On white

2.61
#AFA06A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFA06A#FFFFFF#000000##000000
##AFA06A1.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9E66
Deuteranopia (green-blind)
#AFA26C
Tritanopia (blue-blind)
#B99892
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #afa06a;
/* rgb */ color: rgb(175, 160, 106);
/* oklch */ color: oklch(70.6% 0.074 94.4);
Tailwind
colors: {
  custom: {
    50: '#c8bc95',
    500: '#afa06a',
    950: '#000000',
  },
}
SCSS
$custom: #afa06a;
$custom-light: #c8bc95;
$custom-dark: #000000;
JSON
{
  "hex": "#afa06a",
  "rgb": {
    "r": 175,
    "g": 160,
    "b": 106
  },
  "hsl": {
    "h": 46.957,
    "s": 30.131,
    "l": 55.098
  },
  "oklch": {
    "l": 0.7059,
    "c": 0.07438,
    "h": 94.4
  },
  "luminance": 0.35296
}

Semantic roles & 50–950 ramp

primary
#AFA06A
secondary
#ACB2C9
accent
#77C661
background
#FCFBF9
surface
#F8F6F1
border
#D1D0CB
text
#13110D
muted
#82807E

Preview Lab

Preview with #AFA06A

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

Preview Lab → · Contrast checker → · Palette generator →

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