#AFAE71#AFAE71

#AFAE71 is a light, moderate yellow. Relative luminance 0.406; OKLCH L 73.7% C 0.081 H 107.4°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#AFAE71
RGBrgb(175, 174, 113)
HSLhsl(59, 28%, 56%)
HSVhsv(59, 35%, 69%)
CMYKcmyk(0%, 0.6%, 35.4%, 31.4%)
CIE-LABlab(69.88, -9.09, 31.49)
CIE-LCHlch(69.88, 32.77, 106.11°)
OKLaboklab(73.72% -0.0243 0.0775)
OKLCHoklch(73.72% 0.081 107.4)
XYZxyz(35.7963, 40.5790, 21.5664)
Luminance0.4058 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAE71 #7172AF
analogous
#AF8F71 #AFAE71 #91AF71
triadic
#AFAE71 #71AFAE #AE71AF
tetradic
#AFAE71 #71AF8F #7172AF #AF7191
square
#AFAE71 #71AF8F #7172AF #AF7191
split-complementary
#AFAE71 #7191AF #8F71AF
monochromatic
#6A693C #919052 #AFAE71 #C5C498 #DBDBBF

Accessibility & contrast

On white

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

On black

9.12
#AFAE71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAE71
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAE71#FFFFFF#000000##000000
##AFAE711.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A96D
Deuteranopia (green-blind)
#B9AC74
Tritanopia (blue-blind)
#B7A79F
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #afae71;
/* rgb */ color: rgb(175, 174, 113);
/* oklch */ color: oklch(73.7% 0.081 107.4);
Tailwind
colors: {
  custom: {
    50: '#c8c69a',
    500: '#afae71',
    950: '#000000',
  },
}
SCSS
$custom: #afae71;
$custom-light: #c8c69a;
$custom-dark: #000000;
JSON
{
  "hex": "#afae71",
  "rgb": {
    "r": 175,
    "g": 174,
    "b": 113
  },
  "hsl": {
    "h": 59.032,
    "s": 27.928,
    "l": 56.471
  },
  "oklch": {
    "l": 0.73715,
    "c": 0.08128,
    "h": 107.4
  },
  "luminance": 0.40578
}

Semantic roles & 50–950 ramp

primary
#AFAE71
secondary
#B1B2CB
accent
#65C464
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13130E
muted
#82827E

Preview Lab

Preview with #AFAE71

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

Preview Lab → · Contrast checker → · Palette generator →

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