#AFA570#AFA570

#AFA570 is a light, moderate yellow. Relative luminance 0.372; OKLCH L 71.8% C 0.072 H 98.8°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#AFA570
RGBrgb(175, 165, 112)
HSLhsl(50, 28%, 56%)
HSVhsv(50, 36%, 69%)
CMYKcmyk(0%, 5.7%, 36%, 31.4%)
CIE-LABlab(67.42, -4.44, 28.81)
CIE-LCHlch(67.42, 29.15, 98.76°)
OKLaboklab(71.76% -0.011 0.0713)
OKLCHoklch(71.76% 0.072 98.8)
XYZxyz(34.0595, 37.1950, 20.7113)
Luminance0.3719 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA570 #707AAF
analogous
#AF8670 #AFA570 #9AAF70
triadic
#AFA570 #70AFA5 #A570AF
tetradic
#AFA570 #70AF86 #707AAF #AF709A
square
#AFA570 #70AF86 #707AAF #AF709A
split-complementary
#AFA570 #709AAF #8670AF
monochromatic
#6A623B #918751 #AFA570 #C5BE97 #DBD6BE

Accessibility & contrast

On white

2.49
#AFA570 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#AFA570 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA570
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA570#FFFFFF#000000##000000
##AFA5701.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA26C
Deuteranopia (green-blind)
#B2A672
Tritanopia (blue-blind)
#B89E97
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #afa570;
/* rgb */ color: rgb(175, 165, 112);
/* oklch */ color: oklch(71.8% 0.072 98.8);
Tailwind
colors: {
  custom: {
    50: '#c8bf99',
    500: '#afa570',
    950: '#000000',
  },
}
SCSS
$custom: #afa570;
$custom-light: #c8bf99;
$custom-dark: #000000;
JSON
{
  "hex": "#afa570",
  "rgb": {
    "r": 175,
    "g": 165,
    "b": 112
  },
  "hsl": {
    "h": 50.476,
    "s": 28.251,
    "l": 56.275
  },
  "oklch": {
    "l": 0.71763,
    "c": 0.07216,
    "h": 98.8
  },
  "luminance": 0.37194
}

Semantic roles & 50–950 ramp

primary
#AFA570
secondary
#B0B5CA
accent
#73C563
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AFA570

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

Preview Lab → · Contrast checker → · Palette generator →

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