#AFA37A#AFA37A

#AFA37A is a light, muted yellow. Relative luminance 0.367; OKLCH L 71.5% C 0.058 H 93.7°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#AFA37A
RGBrgb(175, 163, 122)
HSLhsl(46, 25%, 58%)
HSVhsv(46, 30%, 69%)
CMYKcmyk(0%, 6.9%, 30.3%, 31.4%)
CIE-LABlab(67.06, -2.09, 22.92)
CIE-LCHlch(67.06, 23.02, 95.20°)
OKLaboklab(71.54% -0.0037 0.0577)
OKLCHoklch(71.54% 0.058 93.7)
XYZxyz(34.2896, 36.7144, 23.6889)
Luminance0.3671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA37A #7A86AF
analogous
#AF887A #AFA37A #A0AF7A
triadic
#AFA37A #7AAFA3 #A37AAF
tetradic
#AFA37A #7AAF88 #7A86AF #AF7AA0
square
#AFA37A #7AAF88 #7A86AF #AF7AA0
split-complementary
#AFA37A #7AA0AF #887AAF
monochromatic
#6D6342 #938659 #AFA37A #C6BDA0 #DDD8C6

Accessibility & contrast

On white

2.52
#AFA37A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#AFA37A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA37A
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA37A#FFFFFF#000000##000000
##AFA37A1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACA177
Deuteranopia (green-blind)
#AFA57B
Tritanopia (blue-blind)
#B79D98
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #afa37a;
/* rgb */ color: rgb(175, 163, 122);
/* oklch */ color: oklch(71.5% 0.058 93.7);
Tailwind
colors: {
  custom: {
    50: '#c7bea0',
    500: '#afa37a',
    950: '#000000',
  },
}
SCSS
$custom: #afa37a;
$custom-light: #c7bea0;
$custom-dark: #000000;
JSON
{
  "hex": "#afa37a",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 122
  },
  "hsl": {
    "h": 46.415,
    "s": 24.883,
    "l": 58.235
  },
  "oklch": {
    "l": 0.71536,
    "c": 0.05779,
    "h": 93.7
  },
  "luminance": 0.36713
}

Semantic roles & 50–950 ramp

primary
#AFA37A
secondary
#B8BDCD
accent
#7BC166
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AFA37A

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

Preview Lab → · Contrast checker → · Palette generator →

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