#AFAB79#AFAB79

#AFAB79 is a light, moderate yellow. Relative luminance 0.396; OKLCH L 73.2% C 0.068 H 104.1°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#AFAB79
RGBrgb(175, 171, 121)
HSLhsl(56, 25%, 58%)
HSVhsv(56, 31%, 69%)
CMYKcmyk(0%, 2.3%, 30.9%, 31.4%)
CIE-LABlab(69.20, -6.50, 26.33)
CIE-LCHlch(69.20, 27.12, 103.87°)
OKLaboklab(73.22% -0.0165 0.0658)
OKLCHoklch(73.22% 0.068 104.1)
XYZxyz(35.6935, 39.6210, 23.8528)
Luminance0.3962 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAB79 #797DAF
analogous
#AF9079 #AFAB79 #98AF79
triadic
#AFAB79 #79AFAB #AB79AF
tetradic
#AFAB79 #79AF90 #797DAF #AF7998
square
#AFAB79 #79AF90 #797DAF #AF7998
split-complementary
#AFAB79 #7998AF #9079AF
monochromatic
#6D6941 #938F58 #AFAB79 #C6C39F #DDDBC6

Accessibility & contrast

On white

2.35
#AFAB79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#AFAB79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAB79
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAB79#FFFFFF#000000##000000
##AFAB791.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A776
Deuteranopia (green-blind)
#B5AA7B
Tritanopia (blue-blind)
#B7A49E
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afab79;
/* rgb */ color: rgb(175, 171, 121);
/* oklch */ color: oklch(73.2% 0.068 104.1);
Tailwind
colors: {
  custom: {
    50: '#c7c3a0',
    500: '#afab79',
    950: '#000000',
  },
}
SCSS
$custom: #afab79;
$custom-light: #c7c3a0;
$custom-dark: #000000;
JSON
{
  "hex": "#afab79",
  "rgb": {
    "r": 175,
    "g": 171,
    "b": 121
  },
  "hsl": {
    "h": 55.556,
    "s": 25.234,
    "l": 58.039
  },
  "oklch": {
    "l": 0.73219,
    "c": 0.06778,
    "h": 104.1
  },
  "luminance": 0.3962
}

Semantic roles & 50–950 ramp

primary
#AFAB79
secondary
#B7B9CD
accent
#6DC266
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AFAB79

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

Preview Lab → · Contrast checker → · Palette generator →

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