#AFAD71#AFAD71

#AFAD71 is a light, moderate yellow. Relative luminance 0.402; OKLCH L 73.5% C 0.080 H 106.6°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#AFAD71
RGBrgb(175, 173, 113)
HSLhsl(58, 28%, 56%)
HSVhsv(58, 35%, 69%)
CMYKcmyk(0%, 1.1%, 35.4%, 31.4%)
CIE-LABlab(69.61, -8.57, 31.13)
CIE-LCHlch(69.61, 32.29, 105.39°)
OKLaboklab(73.5% -0.0228 0.0767)
OKLCHoklch(73.5% 0.08 106.6)
XYZxyz(35.6038, 40.1941, 21.5023)
Luminance0.4019 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAD71 #7173AF
analogous
#AF8E71 #AFAD71 #92AF71
triadic
#AFAD71 #71AFAD #AD71AF
tetradic
#AFAD71 #71AF8E #7173AF #AF7192
square
#AFAD71 #71AF8E #7173AF #AF7192
split-complementary
#AFAD71 #7192AF #8E71AF
monochromatic
#6A683C #918F52 #AFAD71 #C5C498 #DBDABF

Accessibility & contrast

On white

2.32
#AFAD71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#AFAD71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAD71
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAD71#FFFFFF#000000##000000
##AFAD711.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A86D
Deuteranopia (green-blind)
#B8AB73
Tritanopia (blue-blind)
#B8A69E
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #afad71;
/* rgb */ color: rgb(175, 173, 113);
/* oklch */ color: oklch(73.5% 0.080 106.6);
Tailwind
colors: {
  custom: {
    50: '#c8c59a',
    500: '#afad71',
    950: '#000000',
  },
}
SCSS
$custom: #afad71;
$custom-light: #c8c59a;
$custom-dark: #000000;
JSON
{
  "hex": "#afad71",
  "rgb": {
    "r": 175,
    "g": 173,
    "b": 113
  },
  "hsl": {
    "h": 58.065,
    "s": 27.928,
    "l": 56.471
  },
  "oklch": {
    "l": 0.73499,
    "c": 0.08007,
    "h": 106.6
  },
  "luminance": 0.40193
}

Semantic roles & 50–950 ramp

primary
#AFAD71
secondary
#B1B2CB
accent
#67C464
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AFAD71

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

Preview Lab → · Contrast checker → · Palette generator →

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