#AFAE76#AFAE76

#AFAE76 is a light, moderate yellow. Relative luminance 0.407; OKLCH L 73.8% C 0.075 H 107.2°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#AFAE76
RGBrgb(175, 174, 118)
HSLhsl(59, 26%, 57%)
HSVhsv(59, 33%, 69%)
CMYKcmyk(0%, 0.6%, 32.6%, 31.4%)
CIE-LABlab(69.96, -8.47, 28.94)
CIE-LCHlch(69.96, 30.16, 106.32°)
OKLaboklab(73.81% -0.0223 0.0718)
OKLCHoklch(73.81% 0.075 107.2)
XYZxyz(36.0855, 40.6947, 23.0900)
Luminance0.4069 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAE76 #7677AF
analogous
#AF9176 #AFAE76 #94AF76
triadic
#AFAE76 #76AFAE #AE76AF
tetradic
#AFAE76 #76AF91 #7677AF #AF7694
square
#AFAE76 #76AF91 #7677AF #AF7694
split-complementary
#AFAE76 #7694AF #9176AF
monochromatic
#6C6B3F #929155 #AFAE76 #C6C59D #DCDCC3

Accessibility & contrast

On white

2.30
#AFAE76 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#AFAE76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAE76
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAE76#FFFFFF#000000##000000
##AFAE761.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7AA72
Deuteranopia (green-blind)
#B8AC78
Tritanopia (blue-blind)
#B7A7A0
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #afae76;
/* rgb */ color: rgb(175, 174, 118);
/* oklch */ color: oklch(73.8% 0.075 107.2);
Tailwind
colors: {
  custom: {
    50: '#c7c69e',
    500: '#afae76',
    950: '#000000',
  },
}
SCSS
$custom: #afae76;
$custom-light: #c7c69e;
$custom-dark: #000000;
JSON
{
  "hex": "#afae76",
  "rgb": {
    "r": 175,
    "g": 174,
    "b": 118
  },
  "hsl": {
    "h": 58.947,
    "s": 26.267,
    "l": 57.451
  },
  "oklch": {
    "l": 0.73807,
    "c": 0.0752,
    "h": 107.2
  },
  "luminance": 0.40694
}

Semantic roles & 50–950 ramp

primary
#AFAE76
secondary
#B5B5CC
accent
#67C365
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13130E
muted
#82827E

Preview Lab

Preview with #AFAE76

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

Preview Lab → · Contrast checker → · Palette generator →

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