#AFA476#AFA476

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

Color values

HEX#AFA476
RGBrgb(175, 164, 118)
HSLhsl(48, 26%, 57%)
HSVhsv(48, 33%, 69%)
CMYKcmyk(0%, 6.3%, 32.6%, 31.4%)
CIE-LABlab(67.26, -3.15, 25.36)
CIE-LCHlch(67.26, 25.55, 97.08°)
OKLaboklab(71.67% -0.007 0.0634)
OKLCHoklch(71.67% 0.064 96.3)
XYZxyz(34.2251, 36.9738, 22.4698)
Luminance0.3697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA476 #7681AF
analogous
#AF8876 #AFA476 #9DAF76
triadic
#AFA476 #76AFA4 #A476AF
tetradic
#AFA476 #76AF88 #7681AF #AF769D
square
#AFA476 #76AF88 #7681AF #AF769D
split-complementary
#AFA476 #769DAF #8876AF
monochromatic
#6C633F #928755 #AFA476 #C6BE9D #DCD7C3

Accessibility & contrast

On white

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

On black

8.39
#AFA476 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA476
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA476#FFFFFF#000000##000000
##AFA4761.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afa476;
/* rgb */ color: rgb(175, 164, 118);
/* oklch */ color: oklch(71.7% 0.064 96.3);
Tailwind
colors: {
  custom: {
    50: '#c7be9e',
    500: '#afa476',
    950: '#000000',
  },
}
SCSS
$custom: #afa476;
$custom-light: #c7be9e;
$custom-dark: #000000;
JSON
{
  "hex": "#afa476",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 118
  },
  "hsl": {
    "h": 48.421,
    "s": 26.267,
    "l": 57.451
  },
  "oklch": {
    "l": 0.71666,
    "c": 0.06376,
    "h": 96.3
  },
  "luminance": 0.36973
}

Semantic roles & 50–950 ramp

primary
#AFA476
secondary
#B5B9CC
accent
#77C365
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AFA476

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

Preview Lab → · Contrast checker → · Palette generator →

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