#AFAA60#AFAA60

#AFAA60 is a light, moderate yellow. Relative luminance 0.387; OKLCH L 72.6% C 0.096 H 105.1°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#AFAA60
RGBrgb(175, 170, 96)
HSLhsl(56, 33%, 53%)
HSVhsv(56, 45%, 69%)
CMYKcmyk(0%, 2.9%, 45.1%, 31.4%)
CIE-LABlab(68.54, -8.88, 38.62)
CIE-LCHlch(68.54, 39.63, 102.95°)
OKLaboklab(72.57% -0.0251 0.0929)
OKLCHoklch(72.57% 0.096 105.1)
XYZxyz(34.1660, 38.7089, 16.7358)
Luminance0.3871 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAA60 #6065AF
analogous
#AF8260 #AFAA60 #8CAF60
triadic
#AFAA60 #60AFAA #AA60AF
tetradic
#AFAA60 #60AF82 #6065AF #AF608C
square
#AFAA60 #60AF82 #6065AF #AF608C
split-complementary
#AFAA60 #608CAF #8260AF
monochromatic
#636032 #8C8746 #AFAA60 #C3C089 #D8D6B1

Accessibility & contrast

On white

2.40
#AFAA60 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#AFAA60 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAA60
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAA60#FFFFFF#000000##000000
##AFAA601.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A55A
Deuteranopia (green-blind)
#B8A963
Tritanopia (blue-blind)
#B9A198
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #afaa60;
/* rgb */ color: rgb(175, 170, 96);
/* oklch */ color: oklch(72.6% 0.096 105.1);
Tailwind
colors: {
  custom: {
    50: '#c8c38e',
    500: '#afaa60',
    950: '#000000',
  },
}
SCSS
$custom: #afaa60;
$custom-light: #c8c38e;
$custom-dark: #000000;
JSON
{
  "hex": "#afaa60",
  "rgb": {
    "r": 175,
    "g": 170,
    "b": 96
  },
  "hsl": {
    "h": 56.203,
    "s": 33.054,
    "l": 53.137
  },
  "oklch": {
    "l": 0.7257,
    "c": 0.09619,
    "h": 105.1
  },
  "luminance": 0.38708
}

Semantic roles & 50–950 ramp

primary
#AFAA60
secondary
#A4A7C6
accent
#65C95F
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #AFAA60

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

Preview Lab → · Contrast checker → · Palette generator →

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