#AFAA79#AFAA79

#AFAA79 is a light, moderate yellow. Relative luminance 0.392; OKLCH L 73.0% C 0.067 H 103.0°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#AFAA79
RGBrgb(175, 170, 121)
HSLhsl(54, 25%, 58%)
HSVhsv(54, 31%, 69%)
CMYKcmyk(0%, 2.9%, 30.9%, 31.4%)
CIE-LABlab(68.93, -5.97, 25.97)
CIE-LCHlch(68.93, 26.65, 102.95°)
OKLaboklab(73% -0.015 0.0649)
OKLCHoklch(73% 0.067 103)
XYZxyz(35.5054, 39.2446, 23.7901)
Luminance0.3924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAA79 #797EAF
analogous
#AF8F79 #AFAA79 #99AF79
triadic
#AFAA79 #79AFAA #AA79AF
tetradic
#AFAA79 #79AF8F #797EAF #AF7999
square
#AFAA79 #79AF8F #797EAF #AF7999
split-complementary
#AFAA79 #7999AF #8F79AF
monochromatic
#6D6941 #938E58 #AFAA79 #C6C29F #DDDBC6

Accessibility & contrast

On white

2.37
#AFAA79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#AFAA79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAA79
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAA79#FFFFFF#000000##000000
##AFAA791.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A776
Deuteranopia (green-blind)
#B5AA7B
Tritanopia (blue-blind)
#B7A49D
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #afaa79;
/* rgb */ color: rgb(175, 170, 121);
/* oklch */ color: oklch(73.0% 0.067 103.0);
Tailwind
colors: {
  custom: {
    50: '#c7c3a0',
    500: '#afaa79',
    950: '#000000',
  },
}
SCSS
$custom: #afaa79;
$custom-light: #c7c3a0;
$custom-dark: #000000;
JSON
{
  "hex": "#afaa79",
  "rgb": {
    "r": 175,
    "g": 170,
    "b": 121
  },
  "hsl": {
    "h": 54.444,
    "s": 25.234,
    "l": 58.039
  },
  "oklch": {
    "l": 0.73004,
    "c": 0.0666,
    "h": 103
  },
  "luminance": 0.39244
}

Semantic roles & 50–950 ramp

primary
#AFAA79
secondary
#B7B9CD
accent
#6FC266
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AFAA79

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

Preview Lab → · Contrast checker → · Palette generator →

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