#AFA97A#AFA97A

#AFA97A is a light, moderate yellow. Relative luminance 0.389; OKLCH L 72.8% C 0.064 H 101.7°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#AFA97A
RGBrgb(175, 169, 122)
HSLhsl(53, 25%, 58%)
HSVhsv(53, 30%, 69%)
CMYKcmyk(0%, 3.4%, 30.3%, 31.4%)
CIE-LABlab(68.68, -5.31, 25.09)
CIE-LCHlch(68.68, 25.65, 101.94°)
OKLaboklab(72.81% -0.013 0.0628)
OKLCHoklch(72.81% 0.064 101.7)
XYZxyz(35.3803, 38.8958, 24.0524)
Luminance0.3890 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA97A #7A80AF
analogous
#AF8E7A #AFA97A #9AAF7A
triadic
#AFA97A #7AAFA9 #A97AAF
tetradic
#AFA97A #7AAF8E #7A80AF #AF7A9A
square
#AFA97A #7AAF8E #7A80AF #AF7A9A
split-complementary
#AFA97A #7A9AAF #8E7AAF
monochromatic
#6D6842 #938D59 #AFA97A #C6C2A0 #DDDAC6

Accessibility & contrast

On white

2.39
#AFA97A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#AFA97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA97A
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA97A#FFFFFF#000000##000000
##AFA97A1.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A677
Deuteranopia (green-blind)
#B4A97C
Tritanopia (blue-blind)
#B7A39D
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #afa97a;
/* rgb */ color: rgb(175, 169, 122);
/* oklch */ color: oklch(72.8% 0.064 101.7);
Tailwind
colors: {
  custom: {
    50: '#c7c2a0',
    500: '#afa97a',
    950: '#000000',
  },
}
SCSS
$custom: #afa97a;
$custom-light: #c7c2a0;
$custom-dark: #000000;
JSON
{
  "hex": "#afa97a",
  "rgb": {
    "r": 175,
    "g": 169,
    "b": 122
  },
  "hsl": {
    "h": 53.208,
    "s": 24.883,
    "l": 58.235
  },
  "oklch": {
    "l": 0.72811,
    "c": 0.06417,
    "h": 101.7
  },
  "luminance": 0.38895
}

Semantic roles & 50–950 ramp

primary
#AFA97A
secondary
#B8BACD
accent
#71C166
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120F
muted
#82817E

Preview Lab

Preview with #AFA97A

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

Preview Lab → · Contrast checker → · Palette generator →

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