#AFAB85#AFAB85

#AFAB85 is a light, muted yellow. Relative luminance 0.399; OKLCH L 73.5% C 0.052 H 102.6°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#AFAB85
RGBrgb(175, 171, 133)
HSLhsl(54, 21%, 60%)
HSVhsv(54, 24%, 69%)
CMYKcmyk(0%, 2.3%, 24%, 31.4%)
CIE-LABlab(69.42, -4.85, 20.14)
CIE-LCHlch(69.42, 20.71, 103.54°)
OKLaboklab(73.47% -0.0114 0.0511)
OKLCHoklch(73.47% 0.052 102.6)
XYZxyz(36.4757, 39.9338, 27.9722)
Luminance0.3993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAB85 #8589AF
analogous
#AF9685 #AFAB85 #9EAF85
triadic
#AFAB85 #85AFAB #AB85AF
tetradic
#AFAB85 #85AF96 #8589AF #AF859E
square
#AFAB85 #85AF96 #8589AF #AF859E
split-complementary
#AFAB85 #859EAF #9685AF
monochromatic
#706C4A #959062 #AFAB85 #C7C4AA #DFDECF

Accessibility & contrast

On white

2.34
#AFAB85 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.99
#AFAB85 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAB85
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAB85#FFFFFF#000000##000000
##AFAB851.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A883
Deuteranopia (green-blind)
#B4AB86
Tritanopia (blue-blind)
#B6A6A1
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afab85;
/* rgb */ color: rgb(175, 171, 133);
/* oklch */ color: oklch(73.5% 0.052 102.6);
Tailwind
colors: {
  custom: {
    50: '#c7c3a8',
    500: '#afab85',
    950: '#000000',
  },
}
SCSS
$custom: #afab85;
$custom-light: #c7c3a8;
$custom-dark: #000000;
JSON
{
  "hex": "#afab85",
  "rgb": {
    "r": 175,
    "g": 171,
    "b": 133
  },
  "hsl": {
    "h": 54.286,
    "s": 20.792,
    "l": 60.392
  },
  "oklch": {
    "l": 0.73469,
    "c": 0.05238,
    "h": 102.6
  },
  "luminance": 0.39933
}

Semantic roles & 50–950 ramp

primary
#AFAB85
secondary
#C0C1D0
accent
#4F9F46
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#13120F
muted
#82817F

Preview Lab

Preview with #AFAB85

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

Preview Lab → · Contrast checker → · Palette generator →

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