#AFA552#AFA552

#AFA552 is a light, moderate yellow. Relative luminance 0.366; OKLCH L 71.3% C 0.106 H 102.5°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#AFA552
RGBrgb(175, 165, 82)
HSLhsl(54, 37%, 50%)
HSVhsv(54, 53%, 69%)
CMYKcmyk(0%, 5.7%, 53.1%, 31.4%)
CIE-LABlab(67.00, -7.56, 43.79)
CIE-LCHlch(67.00, 44.44, 99.80°)
OKLaboklab(71.29% -0.0228 0.1031)
OKLCHoklch(71.29% 0.106 102.5)
XYZxyz(32.6583, 36.6345, 13.3319)
Luminance0.3663 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA552 #525CAF
analogous
#AF7652 #AFA552 #8BAF52
triadic
#AFA552 #52AFA5 #A552AF
tetradic
#AFA552 #52AF76 #525CAF #AF528B
square
#AFA552 #52AF76 #525CAF #AF528B
split-complementary
#AFA552 #528BAF #7652AF
monochromatic
#5C572B #867E3E #AFA552 #C2BB7C #D6D1A6

Accessibility & contrast

On white

2.52
#AFA552 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#AFA552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA552
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA552#FFFFFF#000000##000000
##AFA5521.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A04A
Deuteranopia (green-blind)
#B5A556
Tritanopia (blue-blind)
#BB9B92
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #afa552;
/* rgb */ color: rgb(175, 165, 82);
/* oklch */ color: oklch(71.3% 0.106 102.5);
Tailwind
colors: {
  custom: {
    50: '#c9bf85',
    500: '#afa552',
    950: '#000000',
  },
}
SCSS
$custom: #afa552;
$custom-light: #c9bf85;
$custom-dark: #000000;
JSON
{
  "hex": "#afa552",
  "rgb": {
    "r": 175,
    "g": 165,
    "b": 82
  },
  "hsl": {
    "h": 53.548,
    "s": 36.759,
    "l": 50.392
  },
  "oklch": {
    "l": 0.71292,
    "c": 0.10554,
    "h": 102.5
  },
  "luminance": 0.36633
}

Semantic roles & 50–950 ramp

primary
#AFA552
secondary
#9A9EC3
accent
#67CD5B
background
#FCFBF8
surface
#F9F7EF
border
#D2D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #AFA552

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

Preview Lab → · Contrast checker → · Palette generator →

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