#AFAE78#AFAE78

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

Color values

HEX#AFAE78
RGBrgb(175, 174, 120)
HSLhsl(59, 26%, 58%)
HSVhsv(59, 31%, 69%)
CMYKcmyk(0%, 0.6%, 31.4%, 31.4%)
CIE-LABlab(70.00, -8.22, 27.92)
CIE-LCHlch(70.00, 29.11, 106.40°)
OKLaboklab(73.84% -0.0214 0.0695)
OKLCHoklch(73.84% 0.073 107.2)
XYZxyz(36.2056, 40.7428, 23.7225)
Luminance0.4074 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAE78 #7879AF
analogous
#AF9278 #AFAE78 #94AF78
triadic
#AFAE78 #78AFAE #AE78AF
tetradic
#AFAE78 #78AF92 #7879AF #AF7894
square
#AFAE78 #78AF92 #7879AF #AF7894
split-complementary
#AFAE78 #7894AF #9278AF
monochromatic
#6C6C40 #939257 #AFAE78 #C6C59E #DDDCC5

Accessibility & contrast

On white

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

On black

9.15
#AFAE78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAE78
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAE78#FFFFFF#000000##000000
##AFAE781.002.309.159.15
#FFFFFF2.301.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afae78;
/* rgb */ color: rgb(175, 174, 120);
/* oklch */ color: oklch(73.8% 0.073 107.2);
Tailwind
colors: {
  custom: {
    50: '#c7c69f',
    500: '#afae78',
    950: '#000000',
  },
}
SCSS
$custom: #afae78;
$custom-light: #c7c69f;
$custom-dark: #000000;
JSON
{
  "hex": "#afae78",
  "rgb": {
    "r": 175,
    "g": 174,
    "b": 120
  },
  "hsl": {
    "h": 58.909,
    "s": 25.581,
    "l": 57.843
  },
  "oklch": {
    "l": 0.73844,
    "c": 0.07272,
    "h": 107.2
  },
  "luminance": 0.40742
}

Semantic roles & 50–950 ramp

primary
#AFAE78
secondary
#B6B7CC
accent
#67C266
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13130E
muted
#82827E

Preview Lab

Preview with #AFAE78

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

Preview Lab → · Contrast checker → · Palette generator →

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