#AFA160#AFA160

#AFA160 is a light, moderate yellow. Relative luminance 0.354; OKLCH L 70.6% C 0.087 H 97.5°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#AFA160
RGBrgb(175, 161, 96)
HSLhsl(49, 33%, 53%)
HSVhsv(49, 45%, 69%)
CMYKcmyk(0%, 8%, 45.1%, 31.4%)
CIE-LABlab(66.10, -4.10, 35.59)
CIE-LCHlch(66.10, 35.82, 96.57°)
OKLaboklab(70.63% -0.0113 0.086)
OKLCHoklch(70.63% 0.087 97.5)
XYZxyz(32.5362, 35.4494, 16.1926)
Luminance0.3545 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA160 #606EAF
analogous
#AF7960 #AFA160 #95AF60
triadic
#AFA160 #60AFA1 #A160AF
tetradic
#AFA160 #60AF79 #606EAF #AF6095
square
#AFA160 #60AF79 #606EAF #AF6095
split-complementary
#AFA160 #6095AF #7960AF
monochromatic
#635A32 #8C7F46 #AFA160 #C3B989 #D8D1B1

Accessibility & contrast

On white

2.60
#AFA160 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#AFA160 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA160
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA160#FFFFFF#000000##000000
##AFA1601.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9E5B
Deuteranopia (green-blind)
#B1A363
Tritanopia (blue-blind)
#BA9891
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #afa160;
/* rgb */ color: rgb(175, 161, 96);
/* oklch */ color: oklch(70.6% 0.087 97.5);
Tailwind
colors: {
  custom: {
    50: '#c8bc8e',
    500: '#afa160',
    950: '#000000',
  },
}
SCSS
$custom: #afa160;
$custom-light: #c8bc8e;
$custom-dark: #000000;
JSON
{
  "hex": "#afa160",
  "rgb": {
    "r": 175,
    "g": 161,
    "b": 96
  },
  "hsl": {
    "h": 49.367,
    "s": 33.054,
    "l": 53.137
  },
  "oklch": {
    "l": 0.70633,
    "c": 0.08678,
    "h": 97.5
  },
  "luminance": 0.35448
}

Semantic roles & 50–950 ramp

primary
#AFA160
secondary
#A4AAC6
accent
#72C95F
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #AFA160

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

Preview Lab → · Contrast checker → · Palette generator →

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