#AFA355#AFA355

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

Color values

HEX#AFA355
RGBrgb(175, 163, 85)
HSLhsl(52, 36%, 51%)
HSVhsv(52, 51%, 69%)
CMYKcmyk(0%, 6.9%, 51.4%, 31.4%)
CIE-LABlab(66.49, -6.24, 41.70)
CIE-LCHlch(66.49, 42.17, 98.50°)
OKLaboklab(70.9% -0.0186 0.0988)
OKLCHoklch(70.9% 0.101 100.7)
XYZxyz(32.4171, 35.9654, 13.8270)
Luminance0.3596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA355 #5561AF
analogous
#AF7655 #AFA355 #8EAF55
triadic
#AFA355 #55AFA3 #A355AF
tetradic
#AFA355 #55AF76 #5561AF #AF558E
square
#AFA355 #55AF76 #5561AF #AF558E
split-complementary
#AFA355 #558EAF #7655AF
monochromatic
#5E572C #877E40 #AFA355 #C3BA7F #D6D0A8

Accessibility & contrast

On white

2.56
#AFA355 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFA355#FFFFFF#000000##000000
##AFA3551.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09F4E
Deuteranopia (green-blind)
#B3A458
Tritanopia (blue-blind)
#BA9991
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #afa355;
/* rgb */ color: rgb(175, 163, 85);
/* oklch */ color: oklch(70.9% 0.101 100.7);
Tailwind
colors: {
  custom: {
    50: '#c9be87',
    500: '#afa355',
    950: '#000000',
  },
}
SCSS
$custom: #afa355;
$custom-light: #c9be87;
$custom-dark: #000000;
JSON
{
  "hex": "#afa355",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 85
  },
  "hsl": {
    "h": 52,
    "s": 36,
    "l": 50.98
  },
  "oklch": {
    "l": 0.709,
    "c": 0.10053,
    "h": 100.7
  },
  "luminance": 0.35964
}

Semantic roles & 50–950 ramp

primary
#AFA355
secondary
#9CA1C4
accent
#6BCC5C
background
#FCFBF8
surface
#F9F6F0
border
#D2D0CB
text
#13120B
muted
#82817C

Preview Lab

Preview with #AFA355

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

Preview Lab → · Contrast checker → · Palette generator →

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