#AFAE7D#AFAE7D

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

Color values

HEX#AFAE7D
RGBrgb(175, 174, 125)
HSLhsl(59, 24%, 59%)
HSVhsv(59, 29%, 69%)
CMYKcmyk(0%, 0.6%, 28.6%, 31.4%)
CIE-LABlab(70.08, -7.56, 25.36)
CIE-LCHlch(70.08, 26.46, 106.60°)
OKLaboklab(73.94% -0.0193 0.0636)
OKLCHoklch(73.94% 0.066 106.9)
XYZxyz(36.5170, 40.8673, 25.3626)
Luminance0.4087 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAE7D #7D7EAF
analogous
#AF957D #AFAE7D #97AF7D
triadic
#AFAE7D #7DAFAE #AE7DAF
tetradic
#AFAE7D #7DAF95 #7D7EAF #AF7D97
square
#AFAE7D #7DAF95 #7D7EAF #AF7D97
split-complementary
#AFAE7D #7D97AF #957DAF
monochromatic
#6E6D44 #94935B #AFAE7D #C6C6A3 #DEDDC9

Accessibility & contrast

On white

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

On black

9.17
#AFAE7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAE7D
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAE7D#FFFFFF#000000##000000
##AFAE7D1.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afae7d;
/* rgb */ color: rgb(175, 174, 125);
/* oklch */ color: oklch(73.9% 0.066 106.9);
Tailwind
colors: {
  custom: {
    50: '#c7c6a3',
    500: '#afae7d',
    950: '#000000',
  },
}
SCSS
$custom: #afae7d;
$custom-light: #c7c6a3;
$custom-dark: #000000;
JSON
{
  "hex": "#afae7d",
  "rgb": {
    "r": 175,
    "g": 174,
    "b": 125
  },
  "hsl": {
    "h": 58.8,
    "s": 23.81,
    "l": 58.824
  },
  "oklch": {
    "l": 0.73943,
    "c": 0.06643,
    "h": 106.9
  },
  "luminance": 0.40867
}

Semantic roles & 50–950 ramp

primary
#AFAE7D
secondary
#BABACE
accent
#69C068
background
#FCFCFA
surface
#F8F8F3
border
#D1D1CD
text
#13130F
muted
#82827F

Preview Lab

Preview with #AFAE7D

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

Preview Lab → · Contrast checker → · Palette generator →

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