#AFA557#AFA557

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

Color values

HEX#AFA557
RGBrgb(175, 165, 87)
HSLhsl(53, 35%, 51%)
HSVhsv(53, 50%, 69%)
CMYKcmyk(0%, 5.7%, 50.3%, 31.4%)
CIE-LABlab(67.06, -7.12, 41.38)
CIE-LCHlch(67.06, 41.99, 99.76°)
OKLaboklab(71.36% -0.021 0.0983)
OKLCHoklch(71.36% 0.1 102)
XYZxyz(32.8556, 36.7134, 14.3707)
Luminance0.3671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA557 #5761AF
analogous
#AF7957 #AFA557 #8DAF57
triadic
#AFA557 #57AFA5 #A557AF
tetradic
#AFA557 #57AF79 #5761AF #AF578D
square
#AFA557 #57AF79 #5761AF #AF578D
split-complementary
#AFA557 #578DAF #7957AF
monochromatic
#5F592D #888041 #AFA557 #C3BB80 #D6D1AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFA557#FFFFFF#000000##000000
##AFA5571.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)
#B1A150
Deuteranopia (green-blind)
#B5A55B
Tritanopia (blue-blind)
#BA9C93
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #afa557;
/* rgb */ color: rgb(175, 165, 87);
/* oklch */ color: oklch(71.4% 0.100 102.0);
Tailwind
colors: {
  custom: {
    50: '#c9bf88',
    500: '#afa557',
    950: '#000000',
  },
}
SCSS
$custom: #afa557;
$custom-light: #c9bf88;
$custom-dark: #000000;
JSON
{
  "hex": "#afa557",
  "rgb": {
    "r": 175,
    "g": 165,
    "b": 87
  },
  "hsl": {
    "h": 53.182,
    "s": 35.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.71359,
    "c": 0.10046,
    "h": 102
  },
  "luminance": 0.36712
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFA557

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

Preview Lab → · Contrast checker → · Palette generator →

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