#AFA165#AFA165

#AFA165 is a light, moderate yellow. Relative luminance 0.355; OKLCH L 70.7% C 0.081 H 96.6°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#AFA165
RGBrgb(175, 161, 101)
HSLhsl(49, 32%, 54%)
HSVhsv(49, 42%, 69%)
CMYKcmyk(0%, 8%, 42.3%, 31.4%)
CIE-LABlab(66.17, -3.57, 33.05)
CIE-LCHlch(66.17, 33.24, 96.16°)
OKLaboklab(70.71% -0.0093 0.0806)
OKLCHoklch(70.71% 0.081 96.6)
XYZxyz(32.7738, 35.5444, 17.4438)
Luminance0.3554 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA165 #6573AF
analogous
#AF7C65 #AFA165 #98AF65
triadic
#AFA165 #65AFA1 #A165AF
tetradic
#AFA165 #65AF7C #6573AF #AF6598
square
#AFA165 #65AF7C #6573AF #AF6598
split-complementary
#AFA165 #6598AF #7C65AF
monochromatic
#655C35 #8D8149 #AFA165 #C4BA8D #D9D2B6

Accessibility & contrast

On white

2.59
#AFA165 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#AFA165 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA165
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA165#FFFFFF#000000##000000
##AFA1651.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9E60
Deuteranopia (green-blind)
#B0A367
Tritanopia (blue-blind)
#B99992
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #afa165;
/* rgb */ color: rgb(175, 161, 101);
/* oklch */ color: oklch(70.7% 0.081 96.6);
Tailwind
colors: {
  custom: {
    50: '#c8bc92',
    500: '#afa165',
    950: '#000000',
  },
}
SCSS
$custom: #afa165;
$custom-light: #c8bc92;
$custom-dark: #000000;
JSON
{
  "hex": "#afa165",
  "rgb": {
    "r": 175,
    "g": 161,
    "b": 101
  },
  "hsl": {
    "h": 48.649,
    "s": 31.624,
    "l": 54.118
  },
  "oklch": {
    "l": 0.70715,
    "c": 0.08113,
    "h": 96.6
  },
  "luminance": 0.35543
}

Semantic roles & 50–950 ramp

primary
#AFA165
secondary
#A8AEC8
accent
#74C860
background
#FCFBF9
surface
#F8F6F1
border
#D1D0CB
text
#13120D
muted
#82817E

Preview Lab

Preview with #AFA165

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

Preview Lab → · Contrast checker → · Palette generator →

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