#AFAA72#AFAA72

#AFAA72 is a light, moderate yellow. Relative luminance 0.391; OKLCH L 72.9% C 0.075 H 103.7°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#AFAA72
RGBrgb(175, 170, 114)
HSLhsl(55, 28%, 57%)
HSVhsv(55, 35%, 69%)
CMYKcmyk(0%, 2.9%, 34.9%, 31.4%)
CIE-LABlab(68.81, -6.86, 29.56)
CIE-LCHlch(68.81, 30.34, 103.06°)
OKLaboklab(72.87% -0.0179 0.0731)
OKLCHoklch(72.87% 0.075 103.7)
XYZxyz(35.0916, 39.0791, 21.6108)
Luminance0.3908 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAA72 #7277AF
analogous
#AF8C72 #AFAA72 #96AF72
triadic
#AFAA72 #72AFAA #AA72AF
tetradic
#AFAA72 #72AF8C #7277AF #AF7296
square
#AFAA72 #72AF8C #7277AF #AF7296
split-complementary
#AFAA72 #7296AF #8C72AF
monochromatic
#6A673C #918C52 #AFAA72 #C5C299 #DBD9C0

Accessibility & contrast

On white

2.38
#AFAA72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#AFAA72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAA72
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAA72#FFFFFF#000000##000000
##AFAA721.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A66E
Deuteranopia (green-blind)
#B6A974
Tritanopia (blue-blind)
#B8A39C
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #afaa72;
/* rgb */ color: rgb(175, 170, 114);
/* oklch */ color: oklch(72.9% 0.075 103.7);
Tailwind
colors: {
  custom: {
    50: '#c8c39b',
    500: '#afaa72',
    950: '#000000',
  },
}
SCSS
$custom: #afaa72;
$custom-light: #c8c39b;
$custom-dark: #000000;
JSON
{
  "hex": "#afaa72",
  "rgb": {
    "r": 175,
    "g": 170,
    "b": 114
  },
  "hsl": {
    "h": 55.082,
    "s": 27.602,
    "l": 56.667
  },
  "oklch": {
    "l": 0.72871,
    "c": 0.07527,
    "h": 103.7
  },
  "luminance": 0.39078
}

Semantic roles & 50–950 ramp

primary
#AFAA72
secondary
#B2B4CB
accent
#6CC464
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AFAA72

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

Preview Lab → · Contrast checker → · Palette generator →

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