#AFA46C#AFA46C

#AFA46C is a light, moderate yellow. Relative luminance 0.367; OKLCH L 71.5% C 0.076 H 98.4°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#AFA46C
RGBrgb(175, 164, 108)
HSLhsl(50, 30%, 55%)
HSVhsv(50, 38%, 69%)
CMYKcmyk(0%, 6.3%, 38.3%, 31.4%)
CIE-LABlab(67.09, -4.38, 30.51)
CIE-LCHlch(67.09, 30.83, 98.17°)
OKLaboklab(71.48% -0.0111 0.0751)
OKLCHoklch(71.48% 0.076 98.4)
XYZxyz(33.6620, 36.7486, 19.5044)
Luminance0.3675 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA46C #6C77AF
analogous
#AF826C #AFA46C #98AF6C
triadic
#AFA46C #6CAFA4 #A46CAF
tetradic
#AFA46C #6CAF82 #6C77AF #AF6C98
square
#AFA46C #6CAF82 #6C77AF #AF6C98
split-complementary
#AFA46C #6C98AF #826CAF
monochromatic
#686039 #90854E #AFA46C #C5BD94 #DAD5BB

Accessibility & contrast

On white

2.52
#AFA46C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#AFA46C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA46C
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA46C#FFFFFF#000000##000000
##AFA46C1.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA168
Deuteranopia (green-blind)
#B2A56E
Tritanopia (blue-blind)
#B99C96
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #afa46c;
/* rgb */ color: rgb(175, 164, 108);
/* oklch */ color: oklch(71.5% 0.076 98.4);
Tailwind
colors: {
  custom: {
    50: '#c8be97',
    500: '#afa46c',
    950: '#000000',
  },
}
SCSS
$custom: #afa46c;
$custom-light: #c8be97;
$custom-dark: #000000;
JSON
{
  "hex": "#afa46c",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 108
  },
  "hsl": {
    "h": 50.149,
    "s": 29.515,
    "l": 55.49
  },
  "oklch": {
    "l": 0.71477,
    "c": 0.07592,
    "h": 98.4
  },
  "luminance": 0.36748
}

Semantic roles & 50–950 ramp

primary
#AFA46C
secondary
#ADB2C9
accent
#72C662
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120D
muted
#82817E

Preview Lab

Preview with #AFA46C

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

Preview Lab → · Contrast checker → · Palette generator →

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