#AFAA6D#AFAA6D

#AFAA6D is a light, moderate yellow. Relative luminance 0.390; OKLCH L 72.8% C 0.081 H 104.2°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#AFAA6D
RGBrgb(175, 170, 109)
HSLhsl(55, 29%, 56%)
HSVhsv(55, 38%, 69%)
CMYKcmyk(0%, 2.9%, 37.7%, 31.4%)
CIE-LABlab(68.73, -7.46, 32.11)
CIE-LCHlch(68.73, 32.96, 103.08°)
OKLaboklab(72.78% -0.0199 0.0788)
OKLCHoklch(72.78% 0.081 104.2)
XYZxyz(34.8147, 38.9684, 20.1527)
Luminance0.3897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAA6D #6D72AF
analogous
#AF896D #AFAA6D #93AF6D
triadic
#AFAA6D #6DAFAA #AA6DAF
tetradic
#AFAA6D #6DAF89 #6D72AF #AF6D93
square
#AFAA6D #6DAF89 #6D72AF #AF6D93
split-complementary
#AFAA6D #6D93AF #896DAF
monochromatic
#686539 #908B4F #AFAA6D #C5C195 #DAD8BC

Accessibility & contrast

On white

2.39
#AFAA6D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#AFAA6D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAA6D
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAA6D#FFFFFF#000000##000000
##AFAA6D1.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A669
Deuteranopia (green-blind)
#B6A96F
Tritanopia (blue-blind)
#B8A29B
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #afaa6d;
/* rgb */ color: rgb(175, 170, 109);
/* oklch */ color: oklch(72.8% 0.081 104.2);
Tailwind
colors: {
  custom: {
    50: '#c8c397',
    500: '#afaa6d',
    950: '#000000',
  },
}
SCSS
$custom: #afaa6d;
$custom-light: #c8c397;
$custom-dark: #000000;
JSON
{
  "hex": "#afaa6d",
  "rgb": {
    "r": 175,
    "g": 170,
    "b": 109
  },
  "hsl": {
    "h": 55.455,
    "s": 29.204,
    "l": 55.686
  },
  "oklch": {
    "l": 0.72781,
    "c": 0.0813,
    "h": 104.2
  },
  "luminance": 0.38968
}

Semantic roles & 50–950 ramp

primary
#AFAA6D
secondary
#AEB0CA
accent
#6AC562
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120D
muted
#82817E

Preview Lab

Preview with #AFAA6D

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

Preview Lab → · Contrast checker → · Palette generator →

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