#AFA27A#AFA27A

#AFA27A is a light, muted yellow. Relative luminance 0.364; OKLCH L 71.3% C 0.057 H 92.2°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#AFA27A
RGBrgb(175, 162, 122)
HSLhsl(45, 25%, 58%)
HSVhsv(45, 30%, 69%)
CMYKcmyk(0%, 7.4%, 30.3%, 31.4%)
CIE-LABlab(66.79, -1.55, 22.56)
CIE-LCHlch(66.79, 22.61, 93.92°)
OKLaboklab(71.33% -0.0022 0.0568)
OKLCHoklch(71.33% 0.057 92.2)
XYZxyz(34.1127, 36.3607, 23.6299)
Luminance0.3636 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA27A #7A87AF
analogous
#AF877A #AFA27A #A1AF7A
triadic
#AFA27A #7AAFA2 #A27AAF
tetradic
#AFA27A #7AAF87 #7A87AF #AF7AA1
square
#AFA27A #7AAF87 #7A87AF #AF7AA1
split-complementary
#AFA27A #7AA1AF #877AAF
monochromatic
#6D6242 #938559 #AFA27A #C6BDA0 #DDD7C6

Accessibility & contrast

On white

2.54
#AFA27A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#AFA27A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA27A
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA27A#FFFFFF#000000##000000
##AFA27A1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#ABA077
Deuteranopia (green-blind)
#AEA47B
Tritanopia (blue-blind)
#B79C97
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #afa27a;
/* rgb */ color: rgb(175, 162, 122);
/* oklch */ color: oklch(71.3% 0.057 92.2);
Tailwind
colors: {
  custom: {
    50: '#c7bda0',
    500: '#afa27a',
    950: '#000000',
  },
}
SCSS
$custom: #afa27a;
$custom-light: #c7bda0;
$custom-dark: #000000;
JSON
{
  "hex": "#afa27a",
  "rgb": {
    "r": 175,
    "g": 162,
    "b": 122
  },
  "hsl": {
    "h": 45.283,
    "s": 24.883,
    "l": 58.235
  },
  "oklch": {
    "l": 0.71325,
    "c": 0.05684,
    "h": 92.2
  },
  "luminance": 0.3636
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFA27A

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

Preview Lab → · Contrast checker → · Palette generator →

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