#AFA37E#AFA37E

#AFA37E is a light, muted yellow. Relative luminance 0.368; OKLCH L 71.6% C 0.053 H 92.2°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#AFA37E
RGBrgb(175, 163, 126)
HSLhsl(45, 23%, 59%)
HSVhsv(45, 28%, 69%)
CMYKcmyk(0%, 6.9%, 28%, 31.4%)
CIE-LABlab(67.14, -1.54, 20.84)
CIE-LCHlch(67.14, 20.90, 94.23°)
OKLaboklab(71.62% -0.002 0.0527)
OKLCHoklch(71.62% 0.053 92.2)
XYZxyz(34.5425, 36.8156, 25.0211)
Luminance0.3681 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA37E #7E8AAF
analogous
#AF8B7E #AFA37E #A3AF7E
triadic
#AFA37E #7EAFA3 #A37EAF
tetradic
#AFA37E #7EAF8B #7E8AAF #AF7EA3
square
#AFA37E #7EAF8B #7E8AAF #AF7EA3
split-complementary
#AFA37E #7EA3AF #8B7EAF
monochromatic
#6E6444 #94865C #AFA37E #C6BEA4 #DED9CA

Accessibility & contrast

On white

2.51
#AFA37E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#AFA37E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA37E
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA37E#FFFFFF#000000##000000
##AFA37E1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#ABA17C
Deuteranopia (green-blind)
#AEA57F
Tritanopia (blue-blind)
#B79D99
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #afa37e;
/* rgb */ color: rgb(175, 163, 126);
/* oklch */ color: oklch(71.6% 0.053 92.2);
Tailwind
colors: {
  custom: {
    50: '#c7bea3',
    500: '#afa37e',
    950: '#000000',
  },
}
SCSS
$custom: #afa37e;
$custom-light: #c7bea3;
$custom-dark: #000000;
JSON
{
  "hex": "#afa37e",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 126
  },
  "hsl": {
    "h": 45.306,
    "s": 23.445,
    "l": 59.02
  },
  "oklch": {
    "l": 0.71621,
    "c": 0.05277,
    "h": 92.2
  },
  "luminance": 0.36815
}

Semantic roles & 50–950 ramp

primary
#AFA37E
secondary
#BBBFCE
accent
#7DC068
background
#FCFBFA
surface
#F8F6F4
border
#D1D0CE
text
#13120F
muted
#82817F

Preview Lab

Preview with #AFA37E

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

Preview Lab → · Contrast checker → · Palette generator →

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