#AFA372#AFA372

#AFA372 is a light, moderate yellow. Relative luminance 0.365; OKLCH L 71.4% C 0.068 H 96.0°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#AFA372
RGBrgb(175, 163, 114)
HSLhsl(48, 28%, 57%)
HSVhsv(48, 35%, 69%)
CMYKcmyk(0%, 6.9%, 34.9%, 31.4%)
CIE-LABlab(66.92, -3.12, 27.07)
CIE-LCHlch(66.92, 27.25, 96.57°)
OKLaboklab(71.38% -0.0071 0.0673)
OKLCHoklch(71.38% 0.068 96)
XYZxyz(33.8141, 36.5242, 21.1850)
Luminance0.3652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA372 #727EAF
analogous
#AF8572 #AFA372 #9DAF72
triadic
#AFA372 #72AFA3 #A372AF
tetradic
#AFA372 #72AF85 #727EAF #AF729D
square
#AFA372 #72AF85 #727EAF #AF729D
split-complementary
#AFA372 #729DAF #8572AF
monochromatic
#6A613C #918552 #AFA372 #C5BC99 #DBD6C0

Accessibility & contrast

On white

2.53
#AFA372 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#AFA372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA372
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA372#FFFFFF#000000##000000
##AFA3721.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADA06F
Deuteranopia (green-blind)
#B0A574
Tritanopia (blue-blind)
#B89C96
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #afa372;
/* rgb */ color: rgb(175, 163, 114);
/* oklch */ color: oklch(71.4% 0.068 96.0);
Tailwind
colors: {
  custom: {
    50: '#c8be9b',
    500: '#afa372',
    950: '#000000',
  },
}
SCSS
$custom: #afa372;
$custom-light: #c8be9b;
$custom-dark: #000000;
JSON
{
  "hex": "#afa372",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 114
  },
  "hsl": {
    "h": 48.197,
    "s": 27.602,
    "l": 56.667
  },
  "oklch": {
    "l": 0.71375,
    "c": 0.06767,
    "h": 96
  },
  "luminance": 0.36523
}

Semantic roles & 50–950 ramp

primary
#AFA372
secondary
#B2B7CB
accent
#77C464
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AFA372

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

Preview Lab → · Contrast checker → · Palette generator →

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