#AFAE8D#AFAE8D

#AFAE8D is a light, muted yellow. Relative luminance 0.413; OKLCH L 74.3% C 0.046 H 106.0°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#AFAE8D
RGBrgb(175, 174, 141)
HSLhsl(58, 18%, 62%)
HSVhsv(58, 19%, 69%)
CMYKcmyk(0%, 0.6%, 19.4%, 31.4%)
CIE-LABlab(70.39, -5.26, 17.12)
CIE-LCHlch(70.39, 17.91, 107.09°)
OKLaboklab(74.29% -0.0126 0.0438)
OKLCHoklch(74.29% 0.046 106)
XYZxyz(37.6227, 41.3096, 31.1857)
Luminance0.4131 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAE8D #8D8EAF
analogous
#AF9D8D #AFAE8D #9FAF8D
triadic
#AFAE8D #8DAFAE #AE8DAF
tetradic
#AFAE8D #8DAF9D #8D8EAF #AF8D9F
square
#AFAE8D #8DAF9D #8D8EAF #AF8D9F
split-complementary
#AFAE8D #8D9FAF #9D8DAF
monochromatic
#727150 #969469 #AFAE8D #C8C8B1 #E1E1D5

Accessibility & contrast

On white

2.27
#AFAE8D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.26
#AFAE8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAE8D
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAE8D#FFFFFF#000000##000000
##AFAE8D1.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4AB8B
Deuteranopia (green-blind)
#B5AD8E
Tritanopia (blue-blind)
#B4AAA5
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #afae8d;
/* rgb */ color: rgb(175, 174, 141);
/* oklch */ color: oklch(74.3% 0.046 106.0);
Tailwind
colors: {
  custom: {
    50: '#c7c6ae',
    500: '#afae8d',
    950: '#000000',
  },
}
SCSS
$custom: #afae8d;
$custom-light: #c7c6ae;
$custom-dark: #000000;
JSON
{
  "hex": "#afae8d",
  "rgb": {
    "r": 175,
    "g": 174,
    "b": 141
  },
  "hsl": {
    "h": 58.235,
    "s": 17.526,
    "l": 61.961
  },
  "oklch": {
    "l": 0.74289,
    "c": 0.04556,
    "h": 106
  },
  "luminance": 0.41309
}

Semantic roles & 50–950 ramp

primary
#AFAE8D
secondary
#C6C6D2
accent
#4C9C4A
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#131310
muted
#82827F

Preview Lab

Preview with #AFAE8D

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

Preview Lab → · Contrast checker → · Palette generator →

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