#AFAE7A#AFAE7A

#AFAE7A is a light, moderate yellow. Relative luminance 0.408; OKLCH L 73.9% C 0.070 H 107.1°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#AFAE7A
RGBrgb(175, 174, 122)
HSLhsl(59, 25%, 58%)
HSVhsv(59, 30%, 69%)
CMYKcmyk(0%, 0.6%, 30.3%, 31.4%)
CIE-LABlab(70.03, -7.96, 26.90)
CIE-LCHlch(70.03, 28.05, 106.48°)
OKLaboklab(73.88% -0.0206 0.0671)
OKLCHoklch(73.88% 0.07 107.1)
XYZxyz(36.3283, 40.7918, 24.3685)
Luminance0.4079 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAE7A #7A7BAF
analogous
#AF937A #AFAE7A #95AF7A
triadic
#AFAE7A #7AAFAE #AE7AAF
tetradic
#AFAE7A #7AAF93 #7A7BAF #AF7A95
square
#AFAE7A #7AAF93 #7A7BAF #AF7A95
split-complementary
#AFAE7A #7A95AF #937AAF
monochromatic
#6D6C42 #939259 #AFAE7A #C6C5A0 #DDDDC6

Accessibility & contrast

On white

2.29
#AFAE7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#AFAE7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAE7A
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAE7A#FFFFFF#000000##000000
##AFAE7A1.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7AA76
Deuteranopia (green-blind)
#B8AC7C
Tritanopia (blue-blind)
#B7A8A0
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #afae7a;
/* rgb */ color: rgb(175, 174, 122);
/* oklch */ color: oklch(73.9% 0.070 107.1);
Tailwind
colors: {
  custom: {
    50: '#c7c6a1',
    500: '#afae7a',
    950: '#000000',
  },
}
SCSS
$custom: #afae7a;
$custom-light: #c7c6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#afae7a",
  "rgb": {
    "r": 175,
    "g": 174,
    "b": 122
  },
  "hsl": {
    "h": 58.868,
    "s": 24.883,
    "l": 58.235
  },
  "oklch": {
    "l": 0.73883,
    "c": 0.07022,
    "h": 107.1
  },
  "luminance": 0.40791
}

Semantic roles & 50–950 ramp

primary
#AFAE7A
secondary
#B8B8CD
accent
#68C166
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13130F
muted
#82827E

Preview Lab

Preview with #AFAE7A

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

Preview Lab → · Contrast checker → · Palette generator →

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