#AFA550#AFA550

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

Color values

HEX#AFA550
RGBrgb(175, 165, 80)
HSLhsl(54, 37%, 50%)
HSVhsv(54, 54%, 69%)
CMYKcmyk(0%, 5.7%, 54.3%, 31.4%)
CIE-LABlab(66.98, -7.73, 44.75)
CIE-LCHlch(66.98, 45.41, 99.81°)
OKLaboklab(71.27% -0.0235 0.1049)
OKLCHoklch(71.27% 0.108 102.6)
XYZxyz(32.5833, 36.6045, 12.9369)
Luminance0.3660 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA550 #505AAF
analogous
#AF7550 #AFA550 #8AAF50
triadic
#AFA550 #50AFA5 #A550AF
tetradic
#AFA550 #50AF75 #505AAF #AF508A
square
#AFA550 #50AF75 #505AAF #AF508A
split-complementary
#AFA550 #508AAF #7550AF
monochromatic
#5B562A #857D3D #AFA550 #C2BB7A #D5D0A4

Accessibility & contrast

On white

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

On black

8.32
#AFA550 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA550
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA550#FFFFFF#000000##000000
##AFA5501.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afa550;
/* rgb */ color: rgb(175, 165, 80);
/* oklch */ color: oklch(71.3% 0.108 102.6);
Tailwind
colors: {
  custom: {
    50: '#c9bf84',
    500: '#afa550',
    950: '#000000',
  },
}
SCSS
$custom: #afa550;
$custom-light: #c9bf84;
$custom-dark: #000000;
JSON
{
  "hex": "#afa550",
  "rgb": {
    "r": 175,
    "g": 165,
    "b": 80
  },
  "hsl": {
    "h": 53.684,
    "s": 37.255,
    "l": 50
  },
  "oklch": {
    "l": 0.71267,
    "c": 0.10751,
    "h": 102.6
  },
  "luminance": 0.36603
}

Semantic roles & 50–950 ramp

primary
#AFA550
secondary
#989DC3
accent
#67CD5B
background
#FCFBF8
surface
#F9F7EF
border
#D2D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #AFA550

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

Preview Lab → · Contrast checker → · Palette generator →

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