#AFA672#AFA672

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

Color values

HEX#AFA672
RGBrgb(175, 166, 114)
HSLhsl(51, 28%, 57%)
HSVhsv(51, 35%, 69%)
CMYKcmyk(0%, 5.1%, 34.9%, 31.4%)
CIE-LABlab(67.73, -4.73, 28.14)
CIE-LCHlch(67.73, 28.53, 99.54°)
OKLaboklab(72.01% -0.0117 0.0698)
OKLCHoklch(72.01% 0.071 99.6)
XYZxyz(34.3531, 37.6022, 21.3646)
Luminance0.3760 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA672 #727BAF
analogous
#AF8872 #AFA672 #9AAF72
triadic
#AFA672 #72AFA6 #A672AF
tetradic
#AFA672 #72AF88 #727BAF #AF729A
square
#AFA672 #72AF88 #727BAF #AF729A
split-complementary
#AFA672 #729AAF #8872AF
monochromatic
#6A643C #918852 #AFA672 #C5BF99 #DBD7C0

Accessibility & contrast

On white

2.46
#AFA672 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#AFA672 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA672
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA672#FFFFFF#000000##000000
##AFA6721.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A36E
Deuteranopia (green-blind)
#B2A774
Tritanopia (blue-blind)
#B89F99
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #afa672;
/* rgb */ color: rgb(175, 166, 114);
/* oklch */ color: oklch(72.0% 0.071 99.6);
Tailwind
colors: {
  custom: {
    50: '#c8c09b',
    500: '#afa672',
    950: '#000000',
  },
}
SCSS
$custom: #afa672;
$custom-light: #c8c09b;
$custom-dark: #000000;
JSON
{
  "hex": "#afa672",
  "rgb": {
    "r": 175,
    "g": 166,
    "b": 114
  },
  "hsl": {
    "h": 51.148,
    "s": 27.602,
    "l": 56.667
  },
  "oklch": {
    "l": 0.72014,
    "c": 0.07078,
    "h": 99.6
  },
  "luminance": 0.37601
}

Semantic roles & 50–950 ramp

primary
#AFA672
secondary
#B2B6CB
accent
#72C464
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AFA672

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

Preview Lab → · Contrast checker → · Palette generator →

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