#AFA555#AFA555

#AFA555 is a light, moderate yellow. Relative luminance 0.367; OKLCH L 71.3% C 0.103 H 102.2°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#AFA555
RGBrgb(175, 165, 85)
HSLhsl(53, 36%, 51%)
HSVhsv(53, 51%, 69%)
CMYKcmyk(0%, 5.7%, 51.4%, 31.4%)
CIE-LABlab(67.04, -7.30, 42.35)
CIE-LCHlch(67.04, 42.98, 99.78°)
OKLaboklab(71.33% -0.0217 0.1002)
OKLCHoklch(71.33% 0.103 102.2)
XYZxyz(32.7750, 36.6812, 13.9463)
Luminance0.3668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA555 #555FAF
analogous
#AF7855 #AFA555 #8CAF55
triadic
#AFA555 #55AFA5 #A555AF
tetradic
#AFA555 #55AF78 #555FAF #AF558C
square
#AFA555 #55AF78 #555FAF #AF558C
split-complementary
#AFA555 #558CAF #7855AF
monochromatic
#5E582C #877F40 #AFA555 #C3BB7F #D6D1A8

Accessibility & contrast

On white

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

On black

8.34
#AFA555 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA555
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA555#FFFFFF#000000##000000
##AFA5551.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A04E
Deuteranopia (green-blind)
#B5A559
Tritanopia (blue-blind)
#BA9B93
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #afa555;
/* rgb */ color: rgb(175, 165, 85);
/* oklch */ color: oklch(71.3% 0.103 102.2);
Tailwind
colors: {
  custom: {
    50: '#c9bf87',
    500: '#afa555',
    950: '#000000',
  },
}
SCSS
$custom: #afa555;
$custom-light: #c9bf87;
$custom-dark: #000000;
JSON
{
  "hex": "#afa555",
  "rgb": {
    "r": 175,
    "g": 165,
    "b": 85
  },
  "hsl": {
    "h": 53.333,
    "s": 36,
    "l": 50.98
  },
  "oklch": {
    "l": 0.71332,
    "c": 0.10252,
    "h": 102.2
  },
  "luminance": 0.3668
}

Semantic roles & 50–950 ramp

primary
#AFA555
secondary
#9CA0C4
accent
#68CC5C
background
#FCFBF8
surface
#F9F7F0
border
#D2D0CB
text
#13120B
muted
#82817C

Preview Lab

Preview with #AFA555

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

Preview Lab → · Contrast checker → · Palette generator →

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