#AFAC75#AFAC75

#AFAC75 is a light, moderate yellow. Relative luminance 0.399; OKLCH L 73.4% C 0.074 H 105.4°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#AFAC75
RGBrgb(175, 172, 117)
HSLhsl(57, 27%, 57%)
HSVhsv(57, 33%, 69%)
CMYKcmyk(0%, 1.7%, 33.1%, 31.4%)
CIE-LABlab(69.40, -7.55, 28.74)
CIE-LCHlch(69.40, 29.71, 104.71°)
OKLaboklab(73.36% -0.0197 0.0713)
OKLCHoklch(73.36% 0.074 105.4)
XYZxyz(35.6429, 39.9041, 22.6508)
Luminance0.3990 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAC75 #7578AF
analogous
#AF8F75 #AFAC75 #95AF75
triadic
#AFAC75 #75AFAC #AC75AF
tetradic
#AFAC75 #75AF8F #7578AF #AF7595
square
#AFAC75 #75AF8F #7578AF #AF7595
split-complementary
#AFAC75 #7595AF #8F75AF
monochromatic
#6B693E #928F55 #AFAC75 #C5C39C #DCDBC2

Accessibility & contrast

On white

2.34
#AFAC75 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#AFAC75 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAC75
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAC75#FFFFFF#000000##000000
##AFAC751.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A871
Deuteranopia (green-blind)
#B7AB77
Tritanopia (blue-blind)
#B7A59E
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afac75;
/* rgb */ color: rgb(175, 172, 117);
/* oklch */ color: oklch(73.4% 0.074 105.4);
Tailwind
colors: {
  custom: {
    50: '#c7c49d',
    500: '#afac75',
    950: '#000000',
  },
}
SCSS
$custom: #afac75;
$custom-light: #c7c49d;
$custom-dark: #000000;
JSON
{
  "hex": "#afac75",
  "rgb": {
    "r": 175,
    "g": 172,
    "b": 117
  },
  "hsl": {
    "h": 56.897,
    "s": 26.606,
    "l": 57.255
  },
  "oklch": {
    "l": 0.73357,
    "c": 0.07398,
    "h": 105.4
  },
  "luminance": 0.39903
}

Semantic roles & 50–950 ramp

primary
#AFAC75
secondary
#B4B5CC
accent
#6AC365
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AFAC75

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

Preview Lab → · Contrast checker → · Palette generator →

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