#AFAA7A#AFAA7A

#AFAA7A is a light, moderate yellow. Relative luminance 0.393; OKLCH L 73.0% C 0.065 H 102.9°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#AFAA7A
RGBrgb(175, 170, 122)
HSLhsl(54, 25%, 58%)
HSVhsv(54, 30%, 69%)
CMYKcmyk(0%, 2.9%, 30.3%, 31.4%)
CIE-LABlab(68.95, -5.84, 25.45)
CIE-LCHlch(68.95, 26.11, 102.92°)
OKLaboklab(73.02% -0.0145 0.0637)
OKLCHoklch(73.02% 0.065 102.9)
XYZxyz(35.5670, 39.2693, 24.1147)
Luminance0.3927 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAA7A #7A7FAF
analogous
#AF8F7A #AFAA7A #99AF7A
triadic
#AFAA7A #7AAFAA #AA7AAF
tetradic
#AFAA7A #7AAF8F #7A7FAF #AF7A99
square
#AFAA7A #7AAF8F #7A7FAF #AF7A99
split-complementary
#AFAA7A #7A99AF #8F7AAF
monochromatic
#6D6942 #938E59 #AFAA7A #C6C2A0 #DDDBC6

Accessibility & contrast

On white

2.37
#AFAA7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#AFAA7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAA7A
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAA7A#FFFFFF#000000##000000
##AFAA7A1.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A777
Deuteranopia (green-blind)
#B4AA7C
Tritanopia (blue-blind)
#B7A49D
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #afaa7a;
/* rgb */ color: rgb(175, 170, 122);
/* oklch */ color: oklch(73.0% 0.065 102.9);
Tailwind
colors: {
  custom: {
    50: '#c7c3a1',
    500: '#afaa7a',
    950: '#000000',
  },
}
SCSS
$custom: #afaa7a;
$custom-light: #c7c3a1;
$custom-dark: #000000;
JSON
{
  "hex": "#afaa7a",
  "rgb": {
    "r": 175,
    "g": 170,
    "b": 122
  },
  "hsl": {
    "h": 54.34,
    "s": 24.883,
    "l": 58.235
  },
  "oklch": {
    "l": 0.73024,
    "c": 0.06534,
    "h": 102.9
  },
  "luminance": 0.39269
}

Semantic roles & 50–950 ramp

primary
#AFAA7A
secondary
#B8BACD
accent
#6FC166
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120F
muted
#82817E

Preview Lab

Preview with #AFAA7A

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

Preview Lab → · Contrast checker → · Palette generator →

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