#AFA353#AFA353

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

Color values

HEX#AFA353
RGBrgb(175, 163, 83)
HSLhsl(52, 37%, 51%)
HSVhsv(52, 53%, 69%)
CMYKcmyk(0%, 6.9%, 52.6%, 31.4%)
CIE-LABlab(66.47, -6.41, 42.67)
CIE-LCHlch(66.47, 43.15, 98.55°)
OKLaboklab(70.87% -0.0194 0.1007)
OKLCHoklch(70.87% 0.103 100.9)
XYZxyz(32.3387, 35.9340, 13.4144)
Luminance0.3593 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA353 #535FAF
analogous
#AF7553 #AFA353 #8DAF53
triadic
#AFA353 #53AFA3 #A353AF
tetradic
#AFA353 #53AF75 #535FAF #AF538D
square
#AFA353 #53AF75 #535FAF #AF538D
split-complementary
#AFA353 #538DAF #7553AF
monochromatic
#5D562B #867D3E #AFA353 #C2B97D #D6D0A7

Accessibility & contrast

On white

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

On black

8.19
#AFA353 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA353
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA353#FFFFFF#000000##000000
##AFA3531.002.578.198.19
#FFFFFF2.571.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09F4C
Deuteranopia (green-blind)
#B3A457
Tritanopia (blue-blind)
#BB9991
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #afa353;
/* rgb */ color: rgb(175, 163, 83);
/* oklch */ color: oklch(70.9% 0.103 100.9);
Tailwind
colors: {
  custom: {
    50: '#c9be85',
    500: '#afa353',
    950: '#000000',
  },
}
SCSS
$custom: #afa353;
$custom-light: #c9be85;
$custom-dark: #000000;
JSON
{
  "hex": "#afa353",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 83
  },
  "hsl": {
    "h": 52.174,
    "s": 36.508,
    "l": 50.588
  },
  "oklch": {
    "l": 0.70874,
    "c": 0.10256,
    "h": 100.9
  },
  "luminance": 0.35933
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFA353

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

Preview Lab → · Contrast checker → · Palette generator →

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