#AFA670#AFA670

#AFA670 is a light, moderate yellow. Relative luminance 0.376; OKLCH L 72.0% C 0.073 H 99.9°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#AFA670
RGBrgb(175, 166, 112)
HSLhsl(51, 28%, 56%)
HSVhsv(51, 36%, 69%)
CMYKcmyk(0%, 5.1%, 36%, 31.4%)
CIE-LABlab(67.69, -4.97, 29.17)
CIE-LCHlch(67.69, 29.59, 99.68°)
OKLaboklab(71.98% -0.0126 0.0721)
OKLCHoklch(71.98% 0.073 99.9)
XYZxyz(34.2405, 37.5571, 20.7716)
Luminance0.3756 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA670 #7079AF
analogous
#AF8770 #AFA670 #99AF70
triadic
#AFA670 #70AFA6 #A670AF
tetradic
#AFA670 #70AF87 #7079AF #AF7099
square
#AFA670 #70AF87 #7079AF #AF7099
split-complementary
#AFA670 #7099AF #8770AF
monochromatic
#6A633B #918851 #AFA670 #C5BE97 #DBD7BE

Accessibility & contrast

On white

2.47
#AFA670 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#AFA670 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA670
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA670#FFFFFF#000000##000000
##AFA6701.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A36C
Deuteranopia (green-blind)
#B3A772
Tritanopia (blue-blind)
#B89F98
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #afa670;
/* rgb */ color: rgb(175, 166, 112);
/* oklch */ color: oklch(72.0% 0.073 99.9);
Tailwind
colors: {
  custom: {
    50: '#c8c099',
    500: '#afa670',
    950: '#000000',
  },
}
SCSS
$custom: #afa670;
$custom-light: #c8c099;
$custom-dark: #000000;
JSON
{
  "hex": "#afa670",
  "rgb": {
    "r": 175,
    "g": 166,
    "b": 112
  },
  "hsl": {
    "h": 51.429,
    "s": 28.251,
    "l": 56.275
  },
  "oklch": {
    "l": 0.71976,
    "c": 0.07322,
    "h": 99.9
  },
  "luminance": 0.37556
}

Semantic roles & 50–950 ramp

primary
#AFA670
secondary
#B0B4CA
accent
#71C563
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AFA670

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

Preview Lab → · Contrast checker → · Palette generator →

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