#AFA661#AFA661

#AFA661 is a light, moderate yellow. Relative luminance 0.372; OKLCH L 71.7% C 0.091 H 101.9°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#AFA661
RGBrgb(175, 166, 97)
HSLhsl(53, 33%, 53%)
HSVhsv(53, 45%, 69%)
CMYKcmyk(0%, 5.1%, 44.6%, 31.4%)
CIE-LABlab(67.46, -6.67, 36.78)
CIE-LCHlch(67.46, 37.37, 100.27°)
OKLaboklab(71.72% -0.0187 0.0888)
OKLCHoklch(71.72% 0.091 101.9)
XYZxyz(33.4738, 37.2505, 16.7337)
Luminance0.3725 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA661 #616AAF
analogous
#AF7F61 #AFA661 #91AF61
triadic
#AFA661 #61AFA6 #A661AF
tetradic
#AFA661 #61AF7F #616AAF #AF6191
square
#AFA661 #61AF7F #616AAF #AF6191
split-complementary
#AFA661 #6191AF #7F61AF
monochromatic
#635E32 #8C8447 #AFA661 #C4BD8A #D8D4B2

Accessibility & contrast

On white

2.49
#AFA661 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#AFA661 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA661
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA661#FFFFFF#000000##000000
##AFA6611.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A25B
Deuteranopia (green-blind)
#B4A664
Tritanopia (blue-blind)
#B99D95
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #afa661;
/* rgb */ color: rgb(175, 166, 97);
/* oklch */ color: oklch(71.7% 0.091 101.9);
Tailwind
colors: {
  custom: {
    50: '#c8c08f',
    500: '#afa661',
    950: '#000000',
  },
}
SCSS
$custom: #afa661;
$custom-light: #c8c08f;
$custom-dark: #000000;
JSON
{
  "hex": "#afa661",
  "rgb": {
    "r": 175,
    "g": 166,
    "b": 97
  },
  "hsl": {
    "h": 53.077,
    "s": 32.773,
    "l": 53.333
  },
  "oklch": {
    "l": 0.71721,
    "c": 0.09072,
    "h": 101.9
  },
  "luminance": 0.37249
}

Semantic roles & 50–950 ramp

primary
#AFA661
secondary
#A5A9C7
accent
#6BC95F
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #AFA661

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

Preview Lab → · Contrast checker → · Palette generator →

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