#AFAE7E#AFAE7E

#AFAE7E is a light, moderate yellow. Relative luminance 0.409; OKLCH L 74.0% C 0.065 H 106.9°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#AFAE7E
RGBrgb(175, 174, 126)
HSLhsl(59, 23%, 59%)
HSVhsv(59, 28%, 69%)
CMYKcmyk(0%, 0.6%, 28%, 31.4%)
CIE-LABlab(70.10, -7.42, 24.85)
CIE-LCHlch(70.10, 25.93, 106.64°)
OKLaboklab(73.96% -0.0189 0.0624)
OKLCHoklch(73.96% 0.065 106.9)
XYZxyz(36.5812, 40.8930, 25.7007)
Luminance0.4089 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAE7E #7E7FAF
analogous
#AF967E #AFAE7E #98AF7E
triadic
#AFAE7E #7EAFAE #AE7EAF
tetradic
#AFAE7E #7EAF96 #7E7FAF #AF7E98
square
#AFAE7E #7EAF96 #7E7FAF #AF7E98
split-complementary
#AFAE7E #7E98AF #967EAF
monochromatic
#6E6D44 #94935C #AFAE7E #C6C6A4 #DEDDCA

Accessibility & contrast

On white

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

On black

9.18
#AFAE7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAE7E
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAE7E#FFFFFF#000000##000000
##AFAE7E1.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6AA7B
Deuteranopia (green-blind)
#B7AC80
Tritanopia (blue-blind)
#B6A8A1
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #afae7e;
/* rgb */ color: rgb(175, 174, 126);
/* oklch */ color: oklch(74.0% 0.065 106.9);
Tailwind
colors: {
  custom: {
    50: '#c7c6a3',
    500: '#afae7e',
    950: '#000000',
  },
}
SCSS
$custom: #afae7e;
$custom-light: #c7c6a3;
$custom-dark: #000000;
JSON
{
  "hex": "#afae7e",
  "rgb": {
    "r": 175,
    "g": 174,
    "b": 126
  },
  "hsl": {
    "h": 58.776,
    "s": 23.445,
    "l": 59.02
  },
  "oklch": {
    "l": 0.73963,
    "c": 0.06516,
    "h": 106.9
  },
  "luminance": 0.40892
}

Semantic roles & 50–950 ramp

primary
#AFAE7E
secondary
#BBBBCE
accent
#6AC068
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#13130F
muted
#82827F

Preview Lab

Preview with #AFAE7E

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

Preview Lab → · Contrast checker → · Palette generator →

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