#AFA479#AFA479

#AFA479 is a light, moderate yellow. Relative luminance 0.370; OKLCH L 71.7% C 0.060 H 95.5°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#AFA479
RGBrgb(175, 164, 121)
HSLhsl(48, 25%, 58%)
HSVhsv(48, 31%, 69%)
CMYKcmyk(0%, 6.3%, 30.9%, 31.4%)
CIE-LABlab(67.31, -2.76, 23.80)
CIE-LCHlch(67.31, 23.96, 96.61°)
OKLaboklab(71.73% -0.0057 0.0598)
OKLCHoklch(71.73% 0.06 95.5)
XYZxyz(34.4062, 37.0462, 23.4237)
Luminance0.3705 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA479 #7984AF
analogous
#AF8979 #AFA479 #9FAF79
triadic
#AFA479 #79AFA4 #A479AF
tetradic
#AFA479 #79AF89 #7984AF #AF799F
square
#AFA479 #79AF89 #7984AF #AF799F
split-complementary
#AFA479 #799FAF #8979AF
monochromatic
#6D6441 #938758 #AFA479 #C6BE9F #DDD8C6

Accessibility & contrast

On white

2.50
#AFA479 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#AFA479 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA479
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA479#FFFFFF#000000##000000
##AFA4791.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADA276
Deuteranopia (green-blind)
#B0A67A
Tritanopia (blue-blind)
#B79E99
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #afa479;
/* rgb */ color: rgb(175, 164, 121);
/* oklch */ color: oklch(71.7% 0.060 95.5);
Tailwind
colors: {
  custom: {
    50: '#c7bea0',
    500: '#afa479',
    950: '#000000',
  },
}
SCSS
$custom: #afa479;
$custom-light: #c7bea0;
$custom-dark: #000000;
JSON
{
  "hex": "#afa479",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 121
  },
  "hsl": {
    "h": 47.778,
    "s": 25.234,
    "l": 58.039
  },
  "oklch": {
    "l": 0.71727,
    "c": 0.06002,
    "h": 95.5
  },
  "luminance": 0.37045
}

Semantic roles & 50–950 ramp

primary
#AFA479
secondary
#B7BCCD
accent
#79C266
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AFA479

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

Preview Lab → · Contrast checker → · Palette generator →

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