#AFA556#AFA556

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

Color values

HEX#AFA556
RGBrgb(175, 165, 86)
HSLhsl(53, 36%, 51%)
HSVhsv(53, 51%, 69%)
CMYKcmyk(0%, 5.7%, 50.9%, 31.4%)
CIE-LABlab(67.05, -7.21, 41.87)
CIE-LCHlch(67.05, 42.48, 99.77°)
OKLaboklab(71.35% -0.0213 0.0992)
OKLCHoklch(71.35% 0.102 102.1)
XYZxyz(32.8150, 36.6972, 14.1570)
Luminance0.3670 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA556 #5660AF
analogous
#AF7856 #AFA556 #8CAF56
triadic
#AFA556 #56AFA5 #A556AF
tetradic
#AFA556 #56AF78 #5660AF #AF568C
square
#AFA556 #56AF78 #5660AF #AF568C
split-complementary
#AFA556 #568CAF #7856AF
monochromatic
#5E592D #888040 #AFA556 #C3BB80 #D6D1A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFA556#FFFFFF#000000##000000
##AFA5561.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)
#B1A14F
Deuteranopia (green-blind)
#B5A55A
Tritanopia (blue-blind)
#BA9C93
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #afa556;
/* rgb */ color: rgb(175, 165, 86);
/* oklch */ color: oklch(71.3% 0.102 102.1);
Tailwind
colors: {
  custom: {
    50: '#c9bf87',
    500: '#afa556',
    950: '#000000',
  },
}
SCSS
$custom: #afa556;
$custom-light: #c9bf87;
$custom-dark: #000000;
JSON
{
  "hex": "#afa556",
  "rgb": {
    "r": 175,
    "g": 165,
    "b": 86
  },
  "hsl": {
    "h": 53.258,
    "s": 35.743,
    "l": 51.176
  },
  "oklch": {
    "l": 0.71345,
    "c": 0.1015,
    "h": 102.1
  },
  "luminance": 0.36696
}

Semantic roles & 50–950 ramp

primary
#AFA556
secondary
#9DA1C4
accent
#69CC5C
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120B
muted
#82817C

Preview Lab

Preview with #AFA556

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

Preview Lab → · Contrast checker → · Palette generator →

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