#AFA975#AFA975

#AFA975 is a light, moderate yellow. Relative luminance 0.388; OKLCH L 72.7% C 0.070 H 102.4°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#AFA975
RGBrgb(175, 169, 117)
HSLhsl(54, 27%, 57%)
HSVhsv(54, 33%, 69%)
CMYKcmyk(0%, 3.4%, 33.1%, 31.4%)
CIE-LABlab(68.59, -5.95, 27.67)
CIE-LCHlch(68.59, 28.30, 102.14°)
OKLaboklab(72.71% -0.0151 0.0688)
OKLCHoklch(72.71% 0.07 102.4)
XYZxyz(35.0784, 38.7750, 22.4626)
Luminance0.3877 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA975 #757BAF
analogous
#AF8C75 #AFA975 #98AF75
triadic
#AFA975 #75AFA9 #A975AF
tetradic
#AFA975 #75AF8C #757BAF #AF7598
square
#AFA975 #75AF8C #757BAF #AF7598
split-complementary
#AFA975 #7598AF #8C75AF
monochromatic
#6B673E #928C55 #AFA975 #C5C19C #DCD9C2

Accessibility & contrast

On white

2.40
#AFA975 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#AFA975 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA975
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA975#FFFFFF#000000##000000
##AFA9751.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A571
Deuteranopia (green-blind)
#B4A977
Tritanopia (blue-blind)
#B7A29C
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #afa975;
/* rgb */ color: rgb(175, 169, 117);
/* oklch */ color: oklch(72.7% 0.070 102.4);
Tailwind
colors: {
  custom: {
    50: '#c7c29d',
    500: '#afa975',
    950: '#000000',
  },
}
SCSS
$custom: #afa975;
$custom-light: #c7c29d;
$custom-dark: #000000;
JSON
{
  "hex": "#afa975",
  "rgb": {
    "r": 175,
    "g": 169,
    "b": 117
  },
  "hsl": {
    "h": 53.793,
    "s": 26.606,
    "l": 57.255
  },
  "oklch": {
    "l": 0.72712,
    "c": 0.07043,
    "h": 102.4
  },
  "luminance": 0.38774
}

Semantic roles & 50–950 ramp

primary
#AFA975
secondary
#B4B7CC
accent
#6FC365
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AFA975

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

Preview Lab → · Contrast checker → · Palette generator →

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