#AFAA92#AFAA92

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

Color values

HEX#AFAA92
RGBrgb(175, 170, 146)
HSLhsl(50, 15%, 63%)
HSVhsv(50, 17%, 69%)
CMYKcmyk(0%, 2.9%, 16.6%, 31.4%)
CIE-LABlab(69.43, -2.34, 13.03)
CIE-LCHlch(69.43, 13.24, 100.18°)
OKLaboklab(73.56% -0.0044 0.0336)
OKLCHoklch(73.56% 0.034 97.4)
XYZxyz(37.2419, 39.9392, 32.9357)
Luminance0.3994 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAA92 #9297AF
analogous
#AF9B92 #AFAA92 #A5AF92
triadic
#AFAA92 #92AFAA #AA92AF
tetradic
#AFAA92 #92AF9B #9297AF #AF92A5
square
#AFAA92 #92AF9B #9297AF #AF92A5
split-complementary
#AFAA92 #92A5AF #9B92AF
monochromatic
#736D54 #958E6F #AFAA92 #C9C6B5 #E3E1D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFAA92#FFFFFF#000000##000000
##AFAA921.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)
#AFA891
Deuteranopia (green-blind)
#B1AA93
Tritanopia (blue-blind)
#B4A6A3
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #afaa92;
/* rgb */ color: rgb(175, 170, 146);
/* oklch */ color: oklch(73.6% 0.034 97.4);
Tailwind
colors: {
  custom: {
    50: '#c7c3b2',
    500: '#afaa92',
    950: '#000000',
  },
}
SCSS
$custom: #afaa92;
$custom-light: #c7c3b2;
$custom-dark: #000000;
JSON
{
  "hex": "#afaa92",
  "rgb": {
    "r": 175,
    "g": 170,
    "b": 146
  },
  "hsl": {
    "h": 49.655,
    "s": 15.344,
    "l": 62.941
  },
  "oklch": {
    "l": 0.73562,
    "c": 0.03393,
    "h": 97.4
  },
  "luminance": 0.39939
}

Semantic roles & 50–950 ramp

primary
#AFAA92
secondary
#C9CBD4
accent
#599A4C
background
#FCFBFA
surface
#F8F7F5
border
#D1D0CF
text
#131210
muted
#82817F

Preview Lab

Preview with #AFAA92

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

Preview Lab → · Contrast checker → · Palette generator →

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