#AFA477#AFA477

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

Color values

HEX#AFA477
RGBrgb(175, 164, 119)
HSLhsl(48, 26%, 58%)
HSVhsv(48, 32%, 69%)
CMYKcmyk(0%, 6.3%, 32%, 31.4%)
CIE-LABlab(67.28, -3.02, 24.84)
CIE-LCHlch(67.28, 25.02, 96.93°)
OKLaboklab(71.69% -0.0066 0.0622)
OKLCHoklch(71.69% 0.063 96)
XYZxyz(34.2848, 36.9977, 22.7844)
Luminance0.3700 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA477 #7782AF
analogous
#AF8877 #AFA477 #9EAF77
triadic
#AFA477 #77AFA4 #A477AF
tetradic
#AFA477 #77AF88 #7782AF #AF779E
square
#AFA477 #77AF88 #7782AF #AF779E
split-complementary
#AFA477 #779EAF #8877AF
monochromatic
#6C6340 #938756 #AFA477 #C6BE9E #DCD8C4

Accessibility & contrast

On white

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

On black

8.40
#AFA477 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA477
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA477#FFFFFF#000000##000000
##AFA4771.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADA274
Deuteranopia (green-blind)
#B0A579
Tritanopia (blue-blind)
#B89D98
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #afa477;
/* rgb */ color: rgb(175, 164, 119);
/* oklch */ color: oklch(71.7% 0.063 96.0);
Tailwind
colors: {
  custom: {
    50: '#c7be9e',
    500: '#afa477',
    950: '#000000',
  },
}
SCSS
$custom: #afa477;
$custom-light: #c7be9e;
$custom-dark: #000000;
JSON
{
  "hex": "#afa477",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 119
  },
  "hsl": {
    "h": 48.214,
    "s": 25.926,
    "l": 57.647
  },
  "oklch": {
    "l": 0.71686,
    "c": 0.06253,
    "h": 96
  },
  "luminance": 0.36997
}

Semantic roles & 50–950 ramp

primary
#AFA477
secondary
#B6BACC
accent
#78C265
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AFA477

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

Preview Lab → · Contrast checker → · Palette generator →

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