#AFAA90#AFAA90

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

Color values

HEX#AFAA90
RGBrgb(175, 170, 144)
HSLhsl(50, 16%, 63%)
HSVhsv(50, 18%, 69%)
CMYKcmyk(0%, 2.9%, 17.7%, 31.4%)
CIE-LABlab(69.38, -2.66, 14.07)
CIE-LCHlch(69.38, 14.32, 100.69°)
OKLaboklab(73.51% -0.0052 0.0362)
OKLCHoklch(73.51% 0.037 98.2)
XYZxyz(37.0877, 39.8775, 32.1235)
Luminance0.3988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAA90 #9095AF
analogous
#AF9B90 #AFAA90 #A4AF90
triadic
#AFAA90 #90AFAA #AA90AF
tetradic
#AFAA90 #90AF9B #9095AF #AF90A4
square
#AFAA90 #90AF9B #9095AF #AF90A4
split-complementary
#AFAA90 #90A4AF #9B90AF
monochromatic
#726D52 #958F6C #AFAA90 #C9C5B4 #E2E0D7

Accessibility & contrast

On white

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

On black

8.98
#AFAA90 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAA90
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAA90#FFFFFF#000000##000000
##AFAA901.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA88E
Deuteranopia (green-blind)
#B1AA91
Tritanopia (blue-blind)
#B4A6A3
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afaa90;
/* rgb */ color: rgb(175, 170, 144);
/* oklch */ color: oklch(73.5% 0.037 98.2);
Tailwind
colors: {
  custom: {
    50: '#c7c3b0',
    500: '#afaa90',
    950: '#000000',
  },
}
SCSS
$custom: #afaa90;
$custom-light: #c7c3b0;
$custom-dark: #000000;
JSON
{
  "hex": "#afaa90",
  "rgb": {
    "r": 175,
    "g": 170,
    "b": 144
  },
  "hsl": {
    "h": 50.323,
    "s": 16.23,
    "l": 62.549
  },
  "oklch": {
    "l": 0.73513,
    "c": 0.03661,
    "h": 98.2
  },
  "luminance": 0.39877
}

Semantic roles & 50–950 ramp

primary
#AFAA90
secondary
#C8CAD3
accent
#589A4B
background
#FCFBFA
surface
#F8F7F4
border
#D1D0CE
text
#131210
muted
#82817F

Preview Lab

Preview with #AFAA90

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

Preview Lab → · Contrast checker → · Palette generator →

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