#AFA072#AFA072

#AFA072 is a light, moderate yellow. Relative luminance 0.355; OKLCH L 70.7% C 0.065 H 92.1°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#AFA072
RGBrgb(175, 160, 114)
HSLhsl(45, 28%, 57%)
HSVhsv(45, 35%, 69%)
CMYKcmyk(0%, 8.6%, 34.9%, 31.4%)
CIE-LABlab(66.11, -1.50, 26.01)
CIE-LCHlch(66.11, 26.05, 93.30°)
OKLaboklab(70.74% -0.0024 0.0648)
OKLCHoklch(70.74% 0.065 92.1)
XYZxyz(33.2878, 35.4715, 21.0095)
Luminance0.3547 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA072 #7281AF
analogous
#AF8272 #AFA072 #A0AF72
triadic
#AFA072 #72AFA0 #A072AF
tetradic
#AFA072 #72AF82 #7281AF #AF72A0
square
#AFA072 #72AF82 #7281AF #AF72A0
split-complementary
#AFA072 #72A0AF #8272AF
monochromatic
#6A5F3C #918252 #AFA072 #C5BA99 #DBD5C0

Accessibility & contrast

On white

2.59
#AFA072 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#AFA072 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA072
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA072#FFFFFF#000000##000000
##AFA0721.002.598.098.09
#FFFFFF2.591.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9E6F
Deuteranopia (green-blind)
#AEA374
Tritanopia (blue-blind)
#B89994
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #afa072;
/* rgb */ color: rgb(175, 160, 114);
/* oklch */ color: oklch(70.7% 0.065 92.1);
Tailwind
colors: {
  custom: {
    50: '#c8bc9b',
    500: '#afa072',
    950: '#000000',
  },
}
SCSS
$custom: #afa072;
$custom-light: #c8bc9b;
$custom-dark: #000000;
JSON
{
  "hex": "#afa072",
  "rgb": {
    "r": 175,
    "g": 160,
    "b": 114
  },
  "hsl": {
    "h": 45.246,
    "s": 27.602,
    "l": 56.667
  },
  "oklch": {
    "l": 0.7074,
    "c": 0.06485,
    "h": 92.1
  },
  "luminance": 0.3547
}

Semantic roles & 50–950 ramp

primary
#AFA072
secondary
#B2B8CB
accent
#7BC464
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13110E
muted
#82807E

Preview Lab

Preview with #AFA072

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

Preview Lab → · Contrast checker → · Palette generator →

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