#AFA475#AFA475

#AFA475 is a light, moderate yellow. Relative luminance 0.369; OKLCH L 71.6% C 0.065 H 96.5°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#AFA475
RGBrgb(175, 164, 117)
HSLhsl(49, 27%, 57%)
HSVhsv(49, 33%, 69%)
CMYKcmyk(0%, 6.3%, 33.1%, 31.4%)
CIE-LABlab(67.24, -3.28, 25.88)
CIE-LCHlch(67.24, 26.08, 97.22°)
OKLaboklab(71.65% -0.0074 0.0646)
OKLCHoklch(71.65% 0.065 96.5)
XYZxyz(34.1660, 36.9501, 22.1585)
Luminance0.3695 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA475 #7580AF
analogous
#AF8775 #AFA475 #9DAF75
triadic
#AFA475 #75AFA4 #A475AF
tetradic
#AFA475 #75AF87 #7580AF #AF759D
square
#AFA475 #75AF87 #7580AF #AF759D
split-complementary
#AFA475 #759DAF #8775AF
monochromatic
#6B633E #928655 #AFA475 #C5BE9C #DCD7C2

Accessibility & contrast

On white

2.50
#AFA475 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#AFA475 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA475
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA475#FFFFFF#000000##000000
##AFA4751.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADA172
Deuteranopia (green-blind)
#B0A577
Tritanopia (blue-blind)
#B89D98
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #afa475;
/* rgb */ color: rgb(175, 164, 117);
/* oklch */ color: oklch(71.6% 0.065 96.5);
Tailwind
colors: {
  custom: {
    50: '#c7be9d',
    500: '#afa475',
    950: '#000000',
  },
}
SCSS
$custom: #afa475;
$custom-light: #c7be9d;
$custom-dark: #000000;
JSON
{
  "hex": "#afa475",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 117
  },
  "hsl": {
    "h": 48.621,
    "s": 26.606,
    "l": 57.255
  },
  "oklch": {
    "l": 0.71646,
    "c": 0.065,
    "h": 96.5
  },
  "luminance": 0.36949
}

Semantic roles & 50–950 ramp

primary
#AFA475
secondary
#B4B9CC
accent
#77C365
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AFA475

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

Preview Lab → · Contrast checker → · Palette generator →

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