#AFA37C#AFA37C

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

Color values

HEX#AFA37C
RGBrgb(175, 163, 124)
HSLhsl(46, 24%, 59%)
HSVhsv(46, 29%, 69%)
CMYKcmyk(0%, 6.9%, 29.1%, 31.4%)
CIE-LABlab(67.10, -1.82, 21.88)
CIE-LCHlch(67.10, 21.96, 94.74°)
OKLaboklab(71.58% -0.0029 0.0552)
OKLCHoklch(71.58% 0.055 93)
XYZxyz(34.4148, 36.7645, 24.3482)
Luminance0.3676 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA37C #7C88AF
analogous
#AF897C #AFA37C #A1AF7C
triadic
#AFA37C #7CAFA3 #A37CAF
tetradic
#AFA37C #7CAF89 #7C88AF #AF7CA1
square
#AFA37C #7CAF89 #7C88AF #AF7CA1
split-complementary
#AFA37C #7CA1AF #897CAF
monochromatic
#6E6443 #94865A #AFA37C #C6BEA2 #DDD8C8

Accessibility & contrast

On white

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

On black

8.35
#AFA37C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA37C
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA37C#FFFFFF#000000##000000
##AFA37C1.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afa37c;
/* rgb */ color: rgb(175, 163, 124);
/* oklch */ color: oklch(71.6% 0.055 93.0);
Tailwind
colors: {
  custom: {
    50: '#c7bea2',
    500: '#afa37c',
    950: '#000000',
  },
}
SCSS
$custom: #afa37c;
$custom-light: #c7bea2;
$custom-dark: #000000;
JSON
{
  "hex": "#afa37c",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 124
  },
  "hsl": {
    "h": 45.882,
    "s": 24.171,
    "l": 58.627
  },
  "oklch": {
    "l": 0.71578,
    "c": 0.05529,
    "h": 93
  },
  "luminance": 0.36764
}

Semantic roles & 50–950 ramp

primary
#AFA37C
secondary
#B9BECD
accent
#7CC167
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120F
muted
#82817E

Preview Lab

Preview with #AFA37C

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

Preview Lab → · Contrast checker → · Palette generator →

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