#AFA667#AFA667

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

Color values

HEX#AFA667
RGBrgb(175, 166, 103)
HSLhsl(53, 31%, 55%)
HSVhsv(53, 41%, 69%)
CMYKcmyk(0%, 5.1%, 41.1%, 31.4%)
CIE-LABlab(67.55, -6.02, 33.76)
CIE-LCHlch(67.55, 34.29, 100.11°)
OKLaboklab(71.82% -0.0163 0.0823)
OKLCHoklch(71.82% 0.084 101.2)
XYZxyz(33.7643, 37.3666, 18.2632)
Luminance0.3737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA667 #6770AF
analogous
#AF8267 #AFA667 #94AF67
triadic
#AFA667 #67AFA6 #A667AF
tetradic
#AFA667 #67AF82 #6770AF #AF6794
square
#AFA667 #67AF82 #6770AF #AF6794
split-complementary
#AFA667 #6794AF #8267AF
monochromatic
#666036 #8E864B #AFA667 #C4BD8F #D9D5B7

Accessibility & contrast

On white

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

On black

8.47
#AFA667 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA667
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA667#FFFFFF#000000##000000
##AFA6671.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A262
Deuteranopia (green-blind)
#B4A66A
Tritanopia (blue-blind)
#B99E96
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #afa667;
/* rgb */ color: rgb(175, 166, 103);
/* oklch */ color: oklch(71.8% 0.084 101.2);
Tailwind
colors: {
  custom: {
    50: '#c8c093',
    500: '#afa667',
    950: '#000000',
  },
}
SCSS
$custom: #afa667;
$custom-light: #c8c093;
$custom-dark: #000000;
JSON
{
  "hex": "#afa667",
  "rgb": {
    "r": 175,
    "g": 166,
    "b": 103
  },
  "hsl": {
    "h": 52.5,
    "s": 31.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.71818,
    "c": 0.0839,
    "h": 101.2
  },
  "luminance": 0.37366
}

Semantic roles & 50–950 ramp

primary
#AFA667
secondary
#AAADC8
accent
#6DC761
background
#FCFBF9
surface
#F8F7F1
border
#D1D0CB
text
#13120D
muted
#82817E

Preview Lab

Preview with #AFA667

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

Preview Lab → · Contrast checker → · Palette generator →

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