#AFA679#AFA679

#AFA679 is a light, moderate yellow. Relative luminance 0.378; OKLCH L 72.2% C 0.062 H 98.2°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#AFA679
RGBrgb(175, 166, 121)
HSLhsl(50, 25%, 58%)
HSVhsv(50, 31%, 69%)
CMYKcmyk(0%, 5.1%, 30.9%, 31.4%)
CIE-LABlab(67.85, -3.83, 24.52)
CIE-LCHlch(67.85, 24.82, 98.88°)
OKLaboklab(72.15% -0.0088 0.0615)
OKLCHoklch(72.15% 0.062 98.2)
XYZxyz(34.7669, 37.7677, 23.5439)
Luminance0.3777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA679 #7982AF
analogous
#AF8B79 #AFA679 #9DAF79
triadic
#AFA679 #79AFA6 #A679AF
tetradic
#AFA679 #79AF8B #7982AF #AF799D
square
#AFA679 #79AF8B #7982AF #AF799D
split-complementary
#AFA679 #799DAF #8B79AF
monochromatic
#6D6541 #938958 #AFA679 #C6BF9F #DDD9C6

Accessibility & contrast

On white

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

On black

8.55
#AFA679 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA679
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA679#FFFFFF#000000##000000
##AFA6791.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA376
Deuteranopia (green-blind)
#B1A77B
Tritanopia (blue-blind)
#B7A09A
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #afa679;
/* rgb */ color: rgb(175, 166, 121);
/* oklch */ color: oklch(72.2% 0.062 98.2);
Tailwind
colors: {
  custom: {
    50: '#c7c0a0',
    500: '#afa679',
    950: '#000000',
  },
}
SCSS
$custom: #afa679;
$custom-light: #c7c0a0;
$custom-dark: #000000;
JSON
{
  "hex": "#afa679",
  "rgb": {
    "r": 175,
    "g": 166,
    "b": 121
  },
  "hsl": {
    "h": 50,
    "s": 25.234,
    "l": 58.039
  },
  "oklch": {
    "l": 0.72151,
    "c": 0.0621,
    "h": 98.2
  },
  "luminance": 0.37767
}

Semantic roles & 50–950 ramp

primary
#AFA679
secondary
#B7BBCD
accent
#75C266
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AFA679

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

Preview Lab → · Contrast checker → · Palette generator →

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