#AFA060#AFA060

#AFA060 is a light, moderate yellow. Relative luminance 0.351; OKLCH L 70.4% C 0.086 H 96.5°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#AFA060
RGBrgb(175, 160, 96)
HSLhsl(49, 33%, 53%)
HSVhsv(49, 45%, 69%)
CMYKcmyk(0%, 8.6%, 45.1%, 31.4%)
CIE-LABlab(65.83, -3.56, 35.25)
CIE-LCHlch(65.83, 35.43, 95.77°)
OKLaboklab(70.42% -0.0098 0.0853)
OKLCHoklch(70.42% 0.086 96.5)
XYZxyz(32.3622, 35.1013, 16.1346)
Luminance0.3510 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA060 #606FAF
analogous
#AF7860 #AFA060 #96AF60
triadic
#AFA060 #60AFA0 #A060AF
tetradic
#AFA060 #60AF78 #606FAF #AF6096
square
#AFA060 #60AF78 #606FAF #AF6096
split-complementary
#AFA060 #6096AF #7860AF
monochromatic
#635A32 #8C7E46 #AFA060 #C3B889 #D8D1B1

Accessibility & contrast

On white

2.62
#AFA060 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#AFA060 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA060
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA060#FFFFFF#000000##000000
##AFA0601.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9D5B
Deuteranopia (green-blind)
#B0A262
Tritanopia (blue-blind)
#BA9790
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #afa060;
/* rgb */ color: rgb(175, 160, 96);
/* oklch */ color: oklch(70.4% 0.086 96.5);
Tailwind
colors: {
  custom: {
    50: '#c8bb8e',
    500: '#afa060',
    950: '#000000',
  },
}
SCSS
$custom: #afa060;
$custom-light: #c8bb8e;
$custom-dark: #000000;
JSON
{
  "hex": "#afa060",
  "rgb": {
    "r": 175,
    "g": 160,
    "b": 96
  },
  "hsl": {
    "h": 48.608,
    "s": 33.054,
    "l": 53.137
  },
  "oklch": {
    "l": 0.7042,
    "c": 0.08584,
    "h": 96.5
  },
  "luminance": 0.351
}

Semantic roles & 50–950 ramp

primary
#AFA060
secondary
#A4ABC6
accent
#73C95F
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13110C
muted
#82807D

Preview Lab

Preview with #AFA060

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

Preview Lab → · Contrast checker → · Palette generator →

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