#AFA352#AFA352

#AFA352 is a light, moderate yellow. Relative luminance 0.359; OKLCH L 70.9% C 0.104 H 101.0°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#AFA352
RGBrgb(175, 163, 82)
HSLhsl(52, 37%, 50%)
HSVhsv(52, 53%, 69%)
CMYKcmyk(0%, 6.9%, 53.1%, 31.4%)
CIE-LABlab(66.46, -6.50, 43.15)
CIE-LCHlch(66.46, 43.64, 98.57°)
OKLaboklab(70.86% -0.0197 0.1017)
OKLCHoklch(70.86% 0.104 101)
XYZxyz(32.3004, 35.9187, 13.2126)
Luminance0.3592 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA352 #525EAF
analogous
#AF7452 #AFA352 #8CAF52
triadic
#AFA352 #52AFA3 #A352AF
tetradic
#AFA352 #52AF74 #525EAF #AF528C
square
#AFA352 #52AF74 #525EAF #AF528C
split-complementary
#AFA352 #528CAF #7452AF
monochromatic
#5C562B #867D3E #AFA352 #C2B97C #D6D0A6

Accessibility & contrast

On white

2.57
#AFA352 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#AFA352 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA352
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA352#FFFFFF#000000##000000
##AFA3521.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09F4B
Deuteranopia (green-blind)
#B3A456
Tritanopia (blue-blind)
#BB9990
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #afa352;
/* rgb */ color: rgb(175, 163, 82);
/* oklch */ color: oklch(70.9% 0.104 101.0);
Tailwind
colors: {
  custom: {
    50: '#c9be85',
    500: '#afa352',
    950: '#000000',
  },
}
SCSS
$custom: #afa352;
$custom-light: #c9be85;
$custom-dark: #000000;
JSON
{
  "hex": "#afa352",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 82
  },
  "hsl": {
    "h": 52.258,
    "s": 36.759,
    "l": 50.392
  },
  "oklch": {
    "l": 0.70861,
    "c": 0.10356,
    "h": 101
  },
  "luminance": 0.35918
}

Semantic roles & 50–950 ramp

primary
#AFA352
secondary
#9A9FC3
accent
#6ACD5B
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #AFA352

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

Preview Lab → · Contrast checker → · Palette generator →

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