#AFAB75#AFAB75

#AFAB75 is a light, moderate yellow. Relative luminance 0.395; OKLCH L 73.1% C 0.073 H 104.5°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#AFAB75
RGBrgb(175, 171, 117)
HSLhsl(56, 27%, 57%)
HSVhsv(56, 33%, 69%)
CMYKcmyk(0%, 2.3%, 33.1%, 31.4%)
CIE-LABlab(69.13, -7.02, 28.38)
CIE-LCHlch(69.13, 29.23, 103.89°)
OKLaboklab(73.14% -0.0182 0.0705)
OKLCHoklch(73.14% 0.073 104.5)
XYZxyz(35.4533, 39.5249, 22.5876)
Luminance0.3952 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAB75 #7579AF
analogous
#AF8E75 #AFAB75 #96AF75
triadic
#AFAB75 #75AFAB #AB75AF
tetradic
#AFAB75 #75AF8E #7579AF #AF7596
square
#AFAB75 #75AF8E #7579AF #AF7596
split-complementary
#AFAB75 #7596AF #8E75AF
monochromatic
#6B683E #928E55 #AFAB75 #C5C39C #DCDAC2

Accessibility & contrast

On white

2.36
#AFAB75 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#AFAB75 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAB75
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAB75#FFFFFF#000000##000000
##AFAB751.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A771
Deuteranopia (green-blind)
#B6AA77
Tritanopia (blue-blind)
#B7A49D
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afab75;
/* rgb */ color: rgb(175, 171, 117);
/* oklch */ color: oklch(73.1% 0.073 104.5);
Tailwind
colors: {
  custom: {
    50: '#c7c39d',
    500: '#afab75',
    950: '#000000',
  },
}
SCSS
$custom: #afab75;
$custom-light: #c7c39d;
$custom-dark: #000000;
JSON
{
  "hex": "#afab75",
  "rgb": {
    "r": 175,
    "g": 171,
    "b": 117
  },
  "hsl": {
    "h": 55.862,
    "s": 26.606,
    "l": 57.255
  },
  "oklch": {
    "l": 0.73142,
    "c": 0.07277,
    "h": 104.5
  },
  "luminance": 0.39524
}

Semantic roles & 50–950 ramp

primary
#AFAB75
secondary
#B4B6CC
accent
#6BC365
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AFAB75

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

Preview Lab → · Contrast checker → · Palette generator →

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