#AFA37B#AFA37B

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

Color values

HEX#AFA37B
RGBrgb(175, 163, 123)
HSLhsl(46, 25%, 58%)
HSVhsv(46, 30%, 69%)
CMYKcmyk(0%, 6.9%, 29.7%, 31.4%)
CIE-LABlab(67.08, -1.95, 22.40)
CIE-LCHlch(67.08, 22.49, 94.98°)
OKLaboklab(71.56% -0.0033 0.0564)
OKLCHoklch(71.56% 0.057 93.4)
XYZxyz(34.3518, 36.7393, 24.0169)
Luminance0.3674 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA37B #7B87AF
analogous
#AF897B #AFA37B #A1AF7B
triadic
#AFA37B #7BAFA3 #A37BAF
tetradic
#AFA37B #7BAF89 #7B87AF #AF7BA1
square
#AFA37B #7BAF89 #7B87AF #AF7BA1
split-complementary
#AFA37B #7BA1AF #897BAF
monochromatic
#6D6342 #938659 #AFA37B #C6BEA1 #DDD8C7

Accessibility & contrast

On white

2.52
#AFA37B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFA37B#FFFFFF#000000##000000
##AFA37B1.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACA178
Deuteranopia (green-blind)
#AFA57C
Tritanopia (blue-blind)
#B79D98
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #afa37b;
/* rgb */ color: rgb(175, 163, 123);
/* oklch */ color: oklch(71.6% 0.057 93.4);
Tailwind
colors: {
  custom: {
    50: '#c7bea1',
    500: '#afa37b',
    950: '#000000',
  },
}
SCSS
$custom: #afa37b;
$custom-light: #c7bea1;
$custom-dark: #000000;
JSON
{
  "hex": "#afa37b",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 123
  },
  "hsl": {
    "h": 46.154,
    "s": 24.528,
    "l": 58.431
  },
  "oklch": {
    "l": 0.71557,
    "c": 0.05654,
    "h": 93.4
  },
  "luminance": 0.36738
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFA37B

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

Preview Lab → · Contrast checker → · Palette generator →

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