#AFA67C#AFA67C

#AFA67C is a light, muted yellow. Relative luminance 0.378; OKLCH L 72.2% C 0.058 H 97.4°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#AFA67C
RGBrgb(175, 166, 124)
HSLhsl(49, 24%, 59%)
HSVhsv(49, 29%, 69%)
CMYKcmyk(0%, 5.1%, 29.1%, 31.4%)
CIE-LABlab(67.90, -3.43, 22.97)
CIE-LCHlch(67.90, 23.23, 98.50°)
OKLaboklab(72.21% -0.0075 0.0578)
OKLCHoklch(72.21% 0.058 97.4)
XYZxyz(34.9538, 37.8424, 24.5279)
Luminance0.3784 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA67C #7C85AF
analogous
#AF8C7C #AFA67C #9EAF7C
triadic
#AFA67C #7CAFA6 #A67CAF
tetradic
#AFA67C #7CAF8C #7C85AF #AF7C9E
square
#AFA67C #7CAF8C #7C85AF #AF7C9E
split-complementary
#AFA67C #7C9EAF #8C7CAF
monochromatic
#6E6643 #94895A #AFA67C #C6C0A2 #DDDAC8

Accessibility & contrast

On white

2.45
#AFA67C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#AFA67C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA67C
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA67C#FFFFFF#000000##000000
##AFA67C1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA479
Deuteranopia (green-blind)
#B1A77D
Tritanopia (blue-blind)
#B7A09B
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #afa67c;
/* rgb */ color: rgb(175, 166, 124);
/* oklch */ color: oklch(72.2% 0.058 97.4);
Tailwind
colors: {
  custom: {
    50: '#c7c0a2',
    500: '#afa67c',
    950: '#000000',
  },
}
SCSS
$custom: #afa67c;
$custom-light: #c7c0a2;
$custom-dark: #000000;
JSON
{
  "hex": "#afa67c",
  "rgb": {
    "r": 175,
    "g": 166,
    "b": 124
  },
  "hsl": {
    "h": 49.412,
    "s": 24.171,
    "l": 58.627
  },
  "oklch": {
    "l": 0.72213,
    "c": 0.05831,
    "h": 97.4
  },
  "luminance": 0.37842
}

Semantic roles & 50–950 ramp

primary
#AFA67C
secondary
#B9BDCD
accent
#77C167
background
#FCFBFA
surface
#F8F7F3
border
#D1D0CD
text
#13120F
muted
#82817F

Preview Lab

Preview with #AFA67C

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

Preview Lab → · Contrast checker → · Palette generator →

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