#AFA779#AFA779

#AFA779 is a light, moderate yellow. Relative luminance 0.381; OKLCH L 72.4% C 0.063 H 99.4°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#AFA779
RGBrgb(175, 167, 121)
HSLhsl(51, 25%, 58%)
HSVhsv(51, 31%, 69%)
CMYKcmyk(0%, 4.6%, 30.9%, 31.4%)
CIE-LABlab(68.12, -4.37, 24.89)
CIE-LCHlch(68.12, 25.27, 99.96°)
OKLaboklab(72.36% -0.0104 0.0623)
OKLCHoklch(72.36% 0.063 99.4)
XYZxyz(34.9494, 38.1327, 23.6047)
Luminance0.3813 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA779 #7981AF
analogous
#AF8C79 #AFA779 #9CAF79
triadic
#AFA779 #79AFA7 #A779AF
tetradic
#AFA779 #79AF8C #7981AF #AF799C
square
#AFA779 #79AF8C #7981AF #AF799C
split-complementary
#AFA779 #799CAF #8C79AF
monochromatic
#6D6641 #938A58 #AFA779 #C6C09F #DDD9C6

Accessibility & contrast

On white

2.43
#AFA779 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#AFA779 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA779
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA779#FFFFFF#000000##000000
##AFA7791.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A476
Deuteranopia (green-blind)
#B2A87B
Tritanopia (blue-blind)
#B7A19B
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #afa779;
/* rgb */ color: rgb(175, 167, 121);
/* oklch */ color: oklch(72.4% 0.063 99.4);
Tailwind
colors: {
  custom: {
    50: '#c7c1a0',
    500: '#afa779',
    950: '#000000',
  },
}
SCSS
$custom: #afa779;
$custom-light: #c7c1a0;
$custom-dark: #000000;
JSON
{
  "hex": "#afa779",
  "rgb": {
    "r": 175,
    "g": 167,
    "b": 121
  },
  "hsl": {
    "h": 51.111,
    "s": 25.234,
    "l": 58.039
  },
  "oklch": {
    "l": 0.72364,
    "c": 0.06319,
    "h": 99.4
  },
  "luminance": 0.38132
}

Semantic roles & 50–950 ramp

primary
#AFA779
secondary
#B7BACD
accent
#74C266
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AFA779

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

Preview Lab → · Contrast checker → · Palette generator →

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