#AFA677#AFA677

#AFA677 is a light, moderate yellow. Relative luminance 0.377; OKLCH L 72.1% C 0.065 H 98.6°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#AFA677
RGBrgb(175, 166, 119)
HSLhsl(50, 26%, 58%)
HSVhsv(50, 32%, 69%)
CMYKcmyk(0%, 5.1%, 32%, 31.4%)
CIE-LABlab(67.81, -4.09, 25.56)
CIE-LCHlch(67.81, 25.88, 99.10°)
OKLaboklab(72.11% -0.0097 0.0639)
OKLCHoklch(72.11% 0.065 98.6)
XYZxyz(34.6455, 37.7191, 22.9047)
Luminance0.3772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA677 #7780AF
analogous
#AF8A77 #AFA677 #9CAF77
triadic
#AFA677 #77AFA6 #A677AF
tetradic
#AFA677 #77AF8A #7780AF #AF779C
square
#AFA677 #77AF8A #7780AF #AF779C
split-complementary
#AFA677 #779CAF #8A77AF
monochromatic
#6C6540 #938956 #AFA677 #C6BF9E #DCD8C4

Accessibility & contrast

On white

2.46
#AFA677 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#AFA677 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA677
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA677#FFFFFF#000000##000000
##AFA6771.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA374
Deuteranopia (green-blind)
#B2A779
Tritanopia (blue-blind)
#B79F9A
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #afa677;
/* rgb */ color: rgb(175, 166, 119);
/* oklch */ color: oklch(72.1% 0.065 98.6);
Tailwind
colors: {
  custom: {
    50: '#c7c09e',
    500: '#afa677',
    950: '#000000',
  },
}
SCSS
$custom: #afa677;
$custom-light: #c7c09e;
$custom-dark: #000000;
JSON
{
  "hex": "#afa677",
  "rgb": {
    "r": 175,
    "g": 166,
    "b": 119
  },
  "hsl": {
    "h": 50.357,
    "s": 25.926,
    "l": 57.647
  },
  "oklch": {
    "l": 0.72111,
    "c": 0.06461,
    "h": 98.6
  },
  "luminance": 0.37718
}

Semantic roles & 50–950 ramp

primary
#AFA677
secondary
#B6B9CC
accent
#74C265
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AFA677

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

Preview Lab → · Contrast checker → · Palette generator →

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