#AFA676#AFA676

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

Color values

HEX#AFA676
RGBrgb(175, 166, 118)
HSLhsl(51, 26%, 57%)
HSVhsv(51, 33%, 69%)
CMYKcmyk(0%, 5.1%, 32.6%, 31.4%)
CIE-LABlab(67.80, -4.22, 26.08)
CIE-LCHlch(67.80, 26.42, 99.20°)
OKLaboklab(72.09% -0.0101 0.0651)
OKLCHoklch(72.09% 0.066 98.8)
XYZxyz(34.5858, 37.6953, 22.5900)
Luminance0.3769 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA676 #767FAF
analogous
#AF8976 #AFA676 #9CAF76
triadic
#AFA676 #76AFA6 #A676AF
tetradic
#AFA676 #76AF89 #767FAF #AF769C
square
#AFA676 #76AF89 #767FAF #AF769C
split-complementary
#AFA676 #769CAF #8976AF
monochromatic
#6C653F #928955 #AFA676 #C6BF9D #DCD8C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFA676#FFFFFF#000000##000000
##AFA6761.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)
#AFA373
Deuteranopia (green-blind)
#B2A778
Tritanopia (blue-blind)
#B89F99
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #afa676;
/* rgb */ color: rgb(175, 166, 118);
/* oklch */ color: oklch(72.1% 0.066 98.8);
Tailwind
colors: {
  custom: {
    50: '#c7c09e',
    500: '#afa676',
    950: '#000000',
  },
}
SCSS
$custom: #afa676;
$custom-light: #c7c09e;
$custom-dark: #000000;
JSON
{
  "hex": "#afa676",
  "rgb": {
    "r": 175,
    "g": 166,
    "b": 118
  },
  "hsl": {
    "h": 50.526,
    "s": 26.267,
    "l": 57.451
  },
  "oklch": {
    "l": 0.72091,
    "c": 0.06586,
    "h": 98.8
  },
  "luminance": 0.37694
}

Semantic roles & 50–950 ramp

primary
#AFA676
secondary
#B5B9CC
accent
#74C365
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AFA676

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

Preview Lab → · Contrast checker → · Palette generator →

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