#AFA070#AFA070

#AFA070 is a light, moderate yellow. Relative luminance 0.354; OKLCH L 70.7% C 0.067 H 92.8°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#AFA070
RGBrgb(175, 160, 112)
HSLhsl(46, 28%, 56%)
HSVhsv(46, 36%, 69%)
CMYKcmyk(0%, 8.6%, 36%, 31.4%)
CIE-LABlab(66.08, -1.75, 27.04)
CIE-LCHlch(66.08, 27.10, 93.70°)
OKLaboklab(70.7% -0.0033 0.0672)
OKLCHoklch(70.7% 0.067 92.8)
XYZxyz(33.1752, 35.4265, 20.4165)
Luminance0.3543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA070 #707FAF
analogous
#AF8170 #AFA070 #9FAF70
triadic
#AFA070 #70AFA0 #A070AF
tetradic
#AFA070 #70AF81 #707FAF #AF709F
square
#AFA070 #70AF81 #707FAF #AF709F
split-complementary
#AFA070 #709FAF #8170AF
monochromatic
#6A5E3B #918251 #AFA070 #C5BA97 #DBD4BE

Accessibility & contrast

On white

2.60
#AFA070 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#AFA070 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA070
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA070#FFFFFF#000000##000000
##AFA0701.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9E6D
Deuteranopia (green-blind)
#AEA372
Tritanopia (blue-blind)
#B99994
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #afa070;
/* rgb */ color: rgb(175, 160, 112);
/* oklch */ color: oklch(70.7% 0.067 92.8);
Tailwind
colors: {
  custom: {
    50: '#c8bc99',
    500: '#afa070',
    950: '#000000',
  },
}
SCSS
$custom: #afa070;
$custom-light: #c8bc99;
$custom-dark: #000000;
JSON
{
  "hex": "#afa070",
  "rgb": {
    "r": 175,
    "g": 160,
    "b": 112
  },
  "hsl": {
    "h": 45.714,
    "s": 28.251,
    "l": 56.275
  },
  "oklch": {
    "l": 0.70701,
    "c": 0.06726,
    "h": 92.8
  },
  "luminance": 0.35425
}

Semantic roles & 50–950 ramp

primary
#AFA070
secondary
#B0B7CA
accent
#7AC563
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13110E
muted
#82807E

Preview Lab

Preview with #AFA070

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

Preview Lab → · Contrast checker → · Palette generator →

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