#AFA668#AFA668

#AFA668 is a light, moderate yellow. Relative luminance 0.374; OKLCH L 71.8% C 0.083 H 101.1°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#AFA668
RGBrgb(175, 166, 104)
HSLhsl(52, 31%, 55%)
HSVhsv(52, 41%, 69%)
CMYKcmyk(0%, 5.1%, 40.6%, 31.4%)
CIE-LABlab(67.57, -5.91, 33.25)
CIE-LCHlch(67.57, 33.77, 100.08°)
OKLaboklab(71.84% -0.0159 0.0812)
OKLCHoklch(71.84% 0.083 101.1)
XYZxyz(33.8147, 37.3868, 18.5291)
Luminance0.3739 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA668 #6871AF
analogous
#AF8268 #AFA668 #95AF68
triadic
#AFA668 #68AFA6 #A668AF
tetradic
#AFA668 #68AF82 #6871AF #AF6895
square
#AFA668 #68AF82 #6871AF #AF6895
split-complementary
#AFA668 #6895AF #8268AF
monochromatic
#666036 #8E864B #AFA668 #C4BE90 #D9D5B8

Accessibility & contrast

On white

2.48
#AFA668 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#AFA668 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA668
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA668#FFFFFF#000000##000000
##AFA6681.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A263
Deuteranopia (green-blind)
#B4A66A
Tritanopia (blue-blind)
#B99E97
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #afa668;
/* rgb */ color: rgb(175, 166, 104);
/* oklch */ color: oklch(71.8% 0.083 101.1);
Tailwind
colors: {
  custom: {
    50: '#c8c094',
    500: '#afa668',
    950: '#000000',
  },
}
SCSS
$custom: #afa668;
$custom-light: #c8c094;
$custom-dark: #000000;
JSON
{
  "hex": "#afa668",
  "rgb": {
    "r": 175,
    "g": 166,
    "b": 104
  },
  "hsl": {
    "h": 52.394,
    "s": 30.736,
    "l": 54.706
  },
  "oklch": {
    "l": 0.71835,
    "c": 0.08273,
    "h": 101.1
  },
  "luminance": 0.37386
}

Semantic roles & 50–950 ramp

primary
#AFA668
secondary
#AAAEC8
accent
#6EC761
background
#FCFBF9
surface
#F8F7F1
border
#D1D0CB
text
#13120D
muted
#82817E

Preview Lab

Preview with #AFA668

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

Preview Lab → · Contrast checker → · Palette generator →

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