#AFAE8F#AFAE8F

#AFAE8F is a light, muted yellow. Relative luminance 0.414; OKLCH L 74.3% C 0.043 H 105.9°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#AFAE8F
RGBrgb(175, 174, 143)
HSLhsl(58, 17%, 62%)
HSVhsv(58, 18%, 69%)
CMYKcmyk(0%, 0.6%, 18.3%, 31.4%)
CIE-LABlab(70.43, -4.95, 16.08)
CIE-LCHlch(70.43, 16.83, 107.12°)
OKLaboklab(74.34% -0.0117 0.0413)
OKLCHoklch(74.34% 0.043 105.9)
XYZxyz(37.7729, 41.3696, 31.9765)
Luminance0.4137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAE8F #8F90AF
analogous
#AF9E8F #AFAE8F #A0AF8F
triadic
#AFAE8F #8FAFAE #AE8FAF
tetradic
#AFAE8F #8FAF9E #8F90AF #AF8FA0
square
#AFAE8F #8FAF9E #8F90AF #AF8FA0
split-complementary
#AFAE8F #8FA0AF #9E8FAF
monochromatic
#727151 #96946B #AFAE8F #C9C8B3 #E2E2D6

Accessibility & contrast

On white

2.26
#AFAE8F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#AFAE8F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAE8F
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAE8F#FFFFFF#000000##000000
##AFAE8F1.002.269.279.27
#FFFFFF2.261.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afae8f;
/* rgb */ color: rgb(175, 174, 143);
/* oklch */ color: oklch(74.3% 0.043 105.9);
Tailwind
colors: {
  custom: {
    50: '#c7c6af',
    500: '#afae8f',
    950: '#000000',
  },
}
SCSS
$custom: #afae8f;
$custom-light: #c7c6af;
$custom-dark: #000000;
JSON
{
  "hex": "#afae8f",
  "rgb": {
    "r": 175,
    "g": 174,
    "b": 143
  },
  "hsl": {
    "h": 58.125,
    "s": 16.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.74336,
    "c": 0.04289,
    "h": 105.9
  },
  "luminance": 0.41369
}

Semantic roles & 50–950 ramp

primary
#AFAE8F
secondary
#C7C7D3
accent
#4D9B4B
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#131310
muted
#82827F

Preview Lab

Preview with #AFAE8F

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

Preview Lab → · Contrast checker → · Palette generator →

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