#AFA57E#AFA57E

#AFA57E is a light, muted yellow. Relative luminance 0.375; OKLCH L 72.0% C 0.055 H 95.4°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#AFA57E
RGBrgb(175, 165, 126)
HSLhsl(48, 23%, 59%)
HSVhsv(48, 28%, 69%)
CMYKcmyk(0%, 5.7%, 28%, 31.4%)
CIE-LABlab(67.67, -2.62, 21.57)
CIE-LCHlch(67.67, 21.73, 96.93°)
OKLaboklab(72.04% -0.0052 0.0545)
OKLCHoklch(72.04% 0.055 95.4)
XYZxyz(34.9004, 37.5314, 25.1404)
Luminance0.3753 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA57E #7E88AF
analogous
#AF8D7E #AFA57E #A1AF7E
triadic
#AFA57E #7EAFA5 #A57EAF
tetradic
#AFA57E #7EAF8D #7E88AF #AF7EA1
square
#AFA57E #7EAF8D #7E88AF #AF7EA1
split-complementary
#AFA57E #7EA1AF #8D7EAF
monochromatic
#6E6644 #94895C #AFA57E #C6BFA4 #DEDACA

Accessibility & contrast

On white

2.47
#AFA57E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#AFA57E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA57E
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA57E#FFFFFF#000000##000000
##AFA57E1.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADA37B
Deuteranopia (green-blind)
#B0A67F
Tritanopia (blue-blind)
#B79F9B
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #afa57e;
/* rgb */ color: rgb(175, 165, 126);
/* oklch */ color: oklch(72.0% 0.055 95.4);
Tailwind
colors: {
  custom: {
    50: '#c7bfa3',
    500: '#afa57e',
    950: '#000000',
  },
}
SCSS
$custom: #afa57e;
$custom-light: #c7bfa3;
$custom-dark: #000000;
JSON
{
  "hex": "#afa57e",
  "rgb": {
    "r": 175,
    "g": 165,
    "b": 126
  },
  "hsl": {
    "h": 47.755,
    "s": 23.445,
    "l": 59.02
  },
  "oklch": {
    "l": 0.72043,
    "c": 0.05473,
    "h": 95.4
  },
  "luminance": 0.37531
}

Semantic roles & 50–950 ramp

primary
#AFA57E
secondary
#BBBFCE
accent
#7AC068
background
#FCFBFA
surface
#F8F7F4
border
#D1D0CE
text
#13120F
muted
#82817F

Preview Lab

Preview with #AFA57E

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

Preview Lab → · Contrast checker → · Palette generator →

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