#AFA681#AFA681

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

Color values

HEX#AFA681
RGBrgb(175, 166, 129)
HSLhsl(48, 22%, 60%)
HSVhsv(48, 26%, 69%)
CMYKcmyk(0%, 5.1%, 26.3%, 31.4%)
CIE-LABlab(68.00, -2.74, 20.37)
CIE-LCHlch(68.00, 20.56, 97.66°)
OKLaboklab(72.32% -0.0054 0.0516)
OKLCHoklch(72.32% 0.052 96)
XYZxyz(35.2780, 37.9721, 26.2356)
Luminance0.3797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA681 #818AAF
analogous
#AF8F81 #AFA681 #A1AF81
triadic
#AFA681 #81AFA6 #A681AF
tetradic
#AFA681 #81AF8F #818AAF #AF81A1
square
#AFA681 #81AF8F #818AAF #AF81A1
split-complementary
#AFA681 #81A1AF #8F81AF
monochromatic
#6F6747 #958A5E #AFA681 #C7C0A6 #DFDBCC

Accessibility & contrast

On white

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

On black

8.59
#AFA681 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA681
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA681#FFFFFF#000000##000000
##AFA6811.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA47F
Deuteranopia (green-blind)
#B0A782
Tritanopia (blue-blind)
#B6A09C
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #afa681;
/* rgb */ color: rgb(175, 166, 129);
/* oklch */ color: oklch(72.3% 0.052 96.0);
Tailwind
colors: {
  custom: {
    50: '#c7c0a5',
    500: '#afa681',
    950: '#000000',
  },
}
SCSS
$custom: #afa681;
$custom-light: #c7c0a5;
$custom-dark: #000000;
JSON
{
  "hex": "#afa681",
  "rgb": {
    "r": 175,
    "g": 166,
    "b": 129
  },
  "hsl": {
    "h": 48.261,
    "s": 22.33,
    "l": 59.608
  },
  "oklch": {
    "l": 0.7232,
    "c": 0.05192,
    "h": 96
  },
  "luminance": 0.37971
}

Semantic roles & 50–950 ramp

primary
#AFA681
secondary
#BDC0CF
accent
#7ABF69
background
#FCFBFA
surface
#F8F7F4
border
#D1D0CE
text
#13120F
muted
#82817F

Preview Lab

Preview with #AFA681

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

Preview Lab → · Contrast checker → · Palette generator →

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