#AFA470#AFA470

#AFA470 is a light, moderate yellow. Relative luminance 0.368; OKLCH L 71.5% C 0.071 H 97.7°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#AFA470
RGBrgb(175, 164, 112)
HSLhsl(50, 28%, 56%)
HSVhsv(50, 36%, 69%)
CMYKcmyk(0%, 6.3%, 36%, 31.4%)
CIE-LABlab(67.15, -3.90, 28.46)
CIE-LCHlch(67.15, 28.72, 97.81°)
OKLaboklab(71.55% -0.0095 0.0705)
OKLCHoklch(71.55% 0.071 97.7)
XYZxyz(33.8798, 36.8357, 20.6514)
Luminance0.3684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA470 #707BAF
analogous
#AF8570 #AFA470 #9BAF70
triadic
#AFA470 #70AFA4 #A470AF
tetradic
#AFA470 #70AF85 #707BAF #AF709B
square
#AFA470 #70AF85 #707BAF #AF709B
split-complementary
#AFA470 #709BAF #8570AF
monochromatic
#6A613B #918651 #AFA470 #C5BD97 #DBD6BE

Accessibility & contrast

On white

2.51
#AFA470 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#AFA470 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA470
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA470#FFFFFF#000000##000000
##AFA4701.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA16C
Deuteranopia (green-blind)
#B1A572
Tritanopia (blue-blind)
#B89D97
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #afa470;
/* rgb */ color: rgb(175, 164, 112);
/* oklch */ color: oklch(71.5% 0.071 97.7);
Tailwind
colors: {
  custom: {
    50: '#c8be99',
    500: '#afa470',
    950: '#000000',
  },
}
SCSS
$custom: #afa470;
$custom-light: #c8be99;
$custom-dark: #000000;
JSON
{
  "hex": "#afa470",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 112
  },
  "hsl": {
    "h": 49.524,
    "s": 28.251,
    "l": 56.275
  },
  "oklch": {
    "l": 0.7155,
    "c": 0.07112,
    "h": 97.7
  },
  "luminance": 0.36835
}

Semantic roles & 50–950 ramp

primary
#AFA470
secondary
#B0B5CA
accent
#74C563
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AFA470

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

Preview Lab → · Contrast checker → · Palette generator →

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