#AFAA81#AFAA81

#AFAA81 is a light, muted yellow. Relative luminance 0.394; OKLCH L 73.2% C 0.056 H 101.8°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#AFAA81
RGBrgb(175, 170, 129)
HSLhsl(53, 22%, 60%)
HSVhsv(53, 26%, 69%)
CMYKcmyk(0%, 2.9%, 26.3%, 31.4%)
CIE-LABlab(69.08, -4.88, 21.84)
CIE-LCHlch(69.08, 22.38, 102.61°)
OKLaboklab(73.17% -0.0116 0.0552)
OKLCHoklch(73.17% 0.056 101.8)
XYZxyz(36.0165, 39.4490, 26.4817)
Luminance0.3945 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAA81 #8186AF
analogous
#AF9381 #AFAA81 #9DAF81
triadic
#AFAA81 #81AFAA #AA81AF
tetradic
#AFAA81 #81AF93 #8186AF #AF819D
square
#AFAA81 #81AF93 #8186AF #AF819D
split-complementary
#AFAA81 #819DAF #9381AF
monochromatic
#6F6B47 #958F5E #AFAA81 #C7C3A6 #DFDDCC

Accessibility & contrast

On white

2.36
#AFAA81 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#AFAA81 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAA81
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAA81#FFFFFF#000000##000000
##AFAA811.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A77E
Deuteranopia (green-blind)
#B3AA82
Tritanopia (blue-blind)
#B6A49F
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afaa81;
/* rgb */ color: rgb(175, 170, 129);
/* oklch */ color: oklch(73.2% 0.056 101.8);
Tailwind
colors: {
  custom: {
    50: '#c7c3a5',
    500: '#afaa81',
    950: '#000000',
  },
}
SCSS
$custom: #afaa81;
$custom-light: #c7c3a5;
$custom-dark: #000000;
JSON
{
  "hex": "#afaa81",
  "rgb": {
    "r": 175,
    "g": 170,
    "b": 129
  },
  "hsl": {
    "h": 53.478,
    "s": 22.33,
    "l": 59.608
  },
  "oklch": {
    "l": 0.73169,
    "c": 0.05639,
    "h": 101.8
  },
  "luminance": 0.39448
}

Semantic roles & 50–950 ramp

primary
#AFAA81
secondary
#BDBFCF
accent
#72BF69
background
#FCFBFA
surface
#F8F7F4
border
#D1D0CE
text
#13120F
muted
#82817F

Preview Lab

Preview with #AFAA81

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

Preview Lab → · Contrast checker → · Palette generator →

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