#AFAE79#AFAE79

#AFAE79 is a light, moderate yellow. Relative luminance 0.408; OKLCH L 73.9% C 0.071 H 107.1°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#AFAE79
RGBrgb(175, 174, 121)
HSLhsl(59, 25%, 58%)
HSVhsv(59, 31%, 69%)
CMYKcmyk(0%, 0.6%, 30.9%, 31.4%)
CIE-LABlab(70.01, -8.09, 27.41)
CIE-LCHlch(70.01, 28.58, 106.44°)
OKLaboklab(73.86% -0.021 0.0683)
OKLCHoklch(73.86% 0.071 107.1)
XYZxyz(36.2666, 40.7672, 24.0438)
Luminance0.4077 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAE79 #797AAF
analogous
#AF9379 #AFAE79 #95AF79
triadic
#AFAE79 #79AFAE #AE79AF
tetradic
#AFAE79 #79AF93 #797AAF #AF7995
square
#AFAE79 #79AF93 #797AAF #AF7995
split-complementary
#AFAE79 #7995AF #9379AF
monochromatic
#6D6C41 #939258 #AFAE79 #C6C59F #DDDCC6

Accessibility & contrast

On white

2.29
#AFAE79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFAE79#FFFFFF#000000##000000
##AFAE791.002.299.159.15
#FFFFFF2.291.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afae79;
/* rgb */ color: rgb(175, 174, 121);
/* oklch */ color: oklch(73.9% 0.071 107.1);
Tailwind
colors: {
  custom: {
    50: '#c7c6a0',
    500: '#afae79',
    950: '#000000',
  },
}
SCSS
$custom: #afae79;
$custom-light: #c7c6a0;
$custom-dark: #000000;
JSON
{
  "hex": "#afae79",
  "rgb": {
    "r": 175,
    "g": 174,
    "b": 121
  },
  "hsl": {
    "h": 58.889,
    "s": 25.234,
    "l": 58.039
  },
  "oklch": {
    "l": 0.73864,
    "c": 0.07147,
    "h": 107.1
  },
  "luminance": 0.40767
}

Semantic roles & 50–950 ramp

primary
#AFAE79
secondary
#B7B8CD
accent
#68C266
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13130E
muted
#82827E

Preview Lab

Preview with #AFAE79

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

Preview Lab → · Contrast checker → · Palette generator →

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