#AFAE8A#AFAE8A

#AFAE8A is a light, muted yellow. Relative luminance 0.412; OKLCH L 74.2% C 0.050 H 106.2°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#AFAE8A
RGBrgb(175, 174, 138)
HSLhsl(58, 19%, 61%)
HSVhsv(58, 21%, 69%)
CMYKcmyk(0%, 0.6%, 21.1%, 31.4%)
CIE-LABlab(70.33, -5.71, 18.67)
CIE-LCHlch(70.33, 19.52, 107.02°)
OKLaboklab(74.22% -0.0138 0.0476)
OKLCHoklch(74.22% 0.05 106.2)
XYZxyz(37.4025, 41.2215, 30.0260)
Luminance0.4122 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAE8A #8A8BAF
analogous
#AF9C8A #AFAE8A #9EAF8A
triadic
#AFAE8A #8AAFAE #AE8AAF
tetradic
#AFAE8A #8AAF9C #8A8BAF #AF8A9E
square
#AFAE8A #8AAF9C #8A8BAF #AF8A9E
split-complementary
#AFAE8A #8A9EAF #9C8AAF
monochromatic
#71704D #969466 #AFAE8A #C8C7AE #E1E0D3

Accessibility & contrast

On white

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

On black

9.24
#AFAE8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAE8A
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAE8A#FFFFFF#000000##000000
##AFAE8A1.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4AB88
Deuteranopia (green-blind)
#B5AD8B
Tritanopia (blue-blind)
#B5A9A4
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #afae8a;
/* rgb */ color: rgb(175, 174, 138);
/* oklch */ color: oklch(74.2% 0.050 106.2);
Tailwind
colors: {
  custom: {
    50: '#c7c6ac',
    500: '#afae8a',
    950: '#000000',
  },
}
SCSS
$custom: #afae8a;
$custom-light: #c7c6ac;
$custom-dark: #000000;
JSON
{
  "hex": "#afae8a",
  "rgb": {
    "r": 175,
    "g": 174,
    "b": 138
  },
  "hsl": {
    "h": 58.378,
    "s": 18.782,
    "l": 61.373
  },
  "oklch": {
    "l": 0.7422,
    "c": 0.04955,
    "h": 106.2
  },
  "luminance": 0.41221
}

Semantic roles & 50–950 ramp

primary
#AFAE8A
secondary
#C3C4D1
accent
#4B9D48
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#131310
muted
#82827F

Preview Lab

Preview with #AFAE8A

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

Preview Lab → · Contrast checker → · Palette generator →

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