#AFAE82#AFAE82

#AFAE82 is a light, moderate yellow. Relative luminance 0.410; OKLCH L 74.0% C 0.060 H 106.7°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#AFAE82
RGBrgb(175, 174, 130)
HSLhsl(59, 22%, 60%)
HSVhsv(59, 26%, 69%)
CMYKcmyk(0%, 0.6%, 25.7%, 31.4%)
CIE-LABlab(70.17, -6.87, 22.79)
CIE-LCHlch(70.17, 23.80, 106.78°)
OKLaboklab(74.05% -0.0172 0.0575)
OKLCHoklch(74.05% 0.06 106.7)
XYZxyz(36.8445, 40.9983, 27.0873)
Luminance0.4100 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAE82 #8283AF
analogous
#AF9882 #AFAE82 #99AF82
triadic
#AFAE82 #82AFAE #AE82AF
tetradic
#AFAE82 #82AF98 #8283AF #AF8299
square
#AFAE82 #82AF98 #8283AF #AF8299
split-complementary
#AFAE82 #8299AF #9882AF
monochromatic
#6F6E47 #95935F #AFAE82 #C7C6A7 #DFDECD

Accessibility & contrast

On white

2.28
#AFAE82 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.20
#AFAE82 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAE82
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAE82#FFFFFF#000000##000000
##AFAE821.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6AA7F
Deuteranopia (green-blind)
#B7AD84
Tritanopia (blue-blind)
#B6A8A2
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #afae82;
/* rgb */ color: rgb(175, 174, 130);
/* oklch */ color: oklch(74.0% 0.060 106.7);
Tailwind
colors: {
  custom: {
    50: '#c7c6a6',
    500: '#afae82',
    950: '#000000',
  },
}
SCSS
$custom: #afae82;
$custom-light: #c7c6a6;
$custom-dark: #000000;
JSON
{
  "hex": "#afae82",
  "rgb": {
    "r": 175,
    "g": 174,
    "b": 130
  },
  "hsl": {
    "h": 58.667,
    "s": 21.951,
    "l": 59.804
  },
  "oklch": {
    "l": 0.74045,
    "c": 0.06003,
    "h": 106.7
  },
  "luminance": 0.40998
}

Semantic roles & 50–950 ramp

primary
#AFAE82
secondary
#BEBECF
accent
#6BBE69
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#13130F
muted
#82827F

Preview Lab

Preview with #AFAE82

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

Preview Lab → · Contrast checker → · Palette generator →

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