#AFAA6E#AFAA6E

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

Color values

HEX#AFAA6E
RGBrgb(175, 170, 110)
HSLhsl(55, 29%, 56%)
HSVhsv(55, 37%, 69%)
CMYKcmyk(0%, 2.9%, 37.1%, 31.4%)
CIE-LABlab(68.74, -7.34, 31.60)
CIE-LCHlch(68.74, 32.44, 103.08°)
OKLaboklab(72.8% -0.0195 0.0777)
OKLCHoklch(72.8% 0.08 104.1)
XYZxyz(34.8689, 38.9900, 20.4378)
Luminance0.3899 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAA6E #6E73AF
analogous
#AF896E #AFAA6E #93AF6E
triadic
#AFAA6E #6EAFAA #AA6EAF
tetradic
#AFAA6E #6EAF89 #6E73AF #AF6E93
square
#AFAA6E #6EAF89 #6E73AF #AF6E93
split-complementary
#AFAA6E #6E93AF #896EAF
monochromatic
#69653A #908B50 #AFAA6E #C5C195 #DBD8BD

Accessibility & contrast

On white

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

On black

8.80
#AFAA6E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAA6E
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAA6E#FFFFFF#000000##000000
##AFAA6E1.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afaa6e;
/* rgb */ color: rgb(175, 170, 110);
/* oklch */ color: oklch(72.8% 0.080 104.1);
Tailwind
colors: {
  custom: {
    50: '#c8c398',
    500: '#afaa6e',
    950: '#000000',
  },
}
SCSS
$custom: #afaa6e;
$custom-light: #c8c398;
$custom-dark: #000000;
JSON
{
  "hex": "#afaa6e",
  "rgb": {
    "r": 175,
    "g": 170,
    "b": 110
  },
  "hsl": {
    "h": 55.385,
    "s": 28.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.72798,
    "c": 0.08011,
    "h": 104.1
  },
  "luminance": 0.38989
}

Semantic roles & 50–950 ramp

primary
#AFAA6E
secondary
#AFB1CA
accent
#6AC563
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AFAA6E

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

Preview Lab → · Contrast checker → · Palette generator →

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