#AFA665#AFA665

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

Color values

HEX#AFA665
RGBrgb(175, 166, 101)
HSLhsl(53, 32%, 54%)
HSVhsv(53, 42%, 69%)
CMYKcmyk(0%, 5.1%, 42.3%, 31.4%)
CIE-LABlab(67.52, -6.24, 34.77)
CIE-LCHlch(67.52, 35.32, 100.18°)
OKLaboklab(71.79% -0.0171 0.0845)
OKLCHoklch(71.79% 0.086 101.4)
XYZxyz(33.6651, 37.3270, 17.7408)
Luminance0.3733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA665 #656EAF
analogous
#AF8165 #AFA665 #93AF65
triadic
#AFA665 #65AFA6 #A665AF
tetradic
#AFA665 #65AF81 #656EAF #AF6593
square
#AFA665 #65AF81 #656EAF #AF6593
split-complementary
#AFA665 #6593AF #8165AF
monochromatic
#655F35 #8D8549 #AFA665 #C4BD8D #D9D5B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFA665#FFFFFF#000000##000000
##AFA6651.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)
#B1A260
Deuteranopia (green-blind)
#B4A668
Tritanopia (blue-blind)
#B99E96
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #afa665;
/* rgb */ color: rgb(175, 166, 101);
/* oklch */ color: oklch(71.8% 0.086 101.4);
Tailwind
colors: {
  custom: {
    50: '#c8c092',
    500: '#afa665',
    950: '#000000',
  },
}
SCSS
$custom: #afa665;
$custom-light: #c8c092;
$custom-dark: #000000;
JSON
{
  "hex": "#afa665",
  "rgb": {
    "r": 175,
    "g": 166,
    "b": 101
  },
  "hsl": {
    "h": 52.703,
    "s": 31.624,
    "l": 54.118
  },
  "oklch": {
    "l": 0.71785,
    "c": 0.0862,
    "h": 101.4
  },
  "luminance": 0.37326
}

Semantic roles & 50–950 ramp

primary
#AFA665
secondary
#A8ACC8
accent
#6DC860
background
#FCFBF9
surface
#F8F7F1
border
#D1D0CB
text
#13120D
muted
#82817E

Preview Lab

Preview with #AFA665

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

Preview Lab → · Contrast checker → · Palette generator →

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