#AFA682#AFA682

#AFA682 is a light, muted yellow. Relative luminance 0.380; OKLCH L 72.3% C 0.051 H 95.7°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#AFA682
RGBrgb(175, 166, 130)
HSLhsl(48, 22%, 60%)
HSVhsv(48, 26%, 69%)
CMYKcmyk(0%, 5.1%, 25.7%, 31.4%)
CIE-LABlab(68.02, -2.60, 19.85)
CIE-LCHlch(68.02, 20.02, 97.46°)
OKLaboklab(72.34% -0.005 0.0504)
OKLCHoklch(72.34% 0.051 95.7)
XYZxyz(35.3448, 37.9988, 26.5874)
Luminance0.3800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA682 #828BAF
analogous
#AF9082 #AFA682 #A2AF82
triadic
#AFA682 #82AFA6 #A682AF
tetradic
#AFA682 #82AF90 #828BAF #AF82A2
square
#AFA682 #82AF90 #828BAF #AF82A2
split-complementary
#AFA682 #82A2AF #9082AF
monochromatic
#6F6747 #958A5F #AFA682 #C7C1A7 #DFDBCD

Accessibility & contrast

On white

2.44
#AFA682 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#AFA682 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA682
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA682#FFFFFF#000000##000000
##AFA6821.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA480
Deuteranopia (green-blind)
#B0A783
Tritanopia (blue-blind)
#B6A19C
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #afa682;
/* rgb */ color: rgb(175, 166, 130);
/* oklch */ color: oklch(72.3% 0.051 95.7);
Tailwind
colors: {
  custom: {
    50: '#c7c0a6',
    500: '#afa682',
    950: '#000000',
  },
}
SCSS
$custom: #afa682;
$custom-light: #c7c0a6;
$custom-dark: #000000;
JSON
{
  "hex": "#afa682",
  "rgb": {
    "r": 175,
    "g": 166,
    "b": 130
  },
  "hsl": {
    "h": 48,
    "s": 21.951,
    "l": 59.804
  },
  "oklch": {
    "l": 0.72342,
    "c": 0.05064,
    "h": 95.7
  },
  "luminance": 0.37998
}

Semantic roles & 50–950 ramp

primary
#AFA682
secondary
#BEC1CF
accent
#7ABE69
background
#FCFBFA
surface
#F8F7F4
border
#D1D0CE
text
#13120F
muted
#82817F

Preview Lab

Preview with #AFA682

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

Preview Lab → · Contrast checker → · Palette generator →

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