#AFAA85#AFAA85

#AFAA85 is a light, muted yellow. Relative luminance 0.396; OKLCH L 73.3% C 0.051 H 101.1°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#AFAA85
RGBrgb(175, 170, 133)
HSLhsl(53, 21%, 60%)
HSVhsv(53, 24%, 69%)
CMYKcmyk(0%, 2.9%, 24%, 31.4%)
CIE-LABlab(69.15, -4.32, 19.77)
CIE-LCHlch(69.15, 20.24, 102.31°)
OKLaboklab(73.26% -0.0099 0.0502)
OKLCHoklch(73.26% 0.051 101.1)
XYZxyz(36.2876, 39.5575, 27.9095)
Luminance0.3956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAA85 #858AAF
analogous
#AF9585 #AFAA85 #9FAF85
triadic
#AFAA85 #85AFAA #AA85AF
tetradic
#AFAA85 #85AF95 #858AAF #AF859F
square
#AFAA85 #85AF95 #858AAF #AF859F
split-complementary
#AFAA85 #859FAF #9585AF
monochromatic
#706C4A #958F62 #AFAA85 #C7C4AA #DFDECF

Accessibility & contrast

On white

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

On black

8.91
#AFAA85 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAA85
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAA85#FFFFFF#000000##000000
##AFAA851.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A783
Deuteranopia (green-blind)
#B3AA86
Tritanopia (blue-blind)
#B6A5A0
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afaa85;
/* rgb */ color: rgb(175, 170, 133);
/* oklch */ color: oklch(73.3% 0.051 101.1);
Tailwind
colors: {
  custom: {
    50: '#c7c3a8',
    500: '#afaa85',
    950: '#000000',
  },
}
SCSS
$custom: #afaa85;
$custom-light: #c7c3a8;
$custom-dark: #000000;
JSON
{
  "hex": "#afaa85",
  "rgb": {
    "r": 175,
    "g": 170,
    "b": 133
  },
  "hsl": {
    "h": 52.857,
    "s": 20.792,
    "l": 60.392
  },
  "oklch": {
    "l": 0.73256,
    "c": 0.05118,
    "h": 101.1
  },
  "luminance": 0.39557
}

Semantic roles & 50–950 ramp

primary
#AFAA85
secondary
#C0C2D0
accent
#519F46
background
#FCFBFA
surface
#F8F7F4
border
#D1D0CE
text
#13120F
muted
#82817F

Preview Lab

Preview with #AFAA85

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

Preview Lab → · Contrast checker → · Palette generator →

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