#AFAD55#AFAD55

#AFAD55 is a light, moderate yellow. Relative luminance 0.397; OKLCH L 73.1% C 0.111 H 107.7°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#AFAD55
RGBrgb(175, 173, 85)
HSLhsl(59, 36%, 51%)
HSVhsv(59, 51%, 69%)
CMYKcmyk(0%, 1.1%, 51.4%, 31.4%)
CIE-LABlab(69.23, -11.50, 44.94)
CIE-LCHlch(69.23, 46.39, 104.35°)
OKLaboklab(73.07% -0.0337 0.1058)
OKLCHoklch(73.07% 0.111 107.7)
XYZxyz(34.2633, 39.6579, 14.4424)
Luminance0.3966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAD55 #5557AF
analogous
#AF8055 #AFAD55 #84AF55
triadic
#AFAD55 #55AFAD #AD55AF
tetradic
#AFAD55 #55AF80 #5557AF #AF5584
square
#AFAD55 #55AF80 #5557AF #AF5584
split-complementary
#AFAD55 #5584AF #8055AF
monochromatic
#5E5C2C #878640 #AFAD55 #C3C17F #D6D5A8

Accessibility & contrast

On white

2.35
#AFAD55 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#AFAD55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAD55
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAD55#FFFFFF#000000##000000
##AFAD551.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A74D
Deuteranopia (green-blind)
#BBAB59
Tritanopia (blue-blind)
#BAA499
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afad55;
/* rgb */ color: rgb(175, 173, 85);
/* oklch */ color: oklch(73.1% 0.111 107.7);
Tailwind
colors: {
  custom: {
    50: '#c9c587',
    500: '#afad55',
    950: '#000000',
  },
}
SCSS
$custom: #afad55;
$custom-light: #c9c587;
$custom-dark: #000000;
JSON
{
  "hex": "#afad55",
  "rgb": {
    "r": 175,
    "g": 173,
    "b": 85
  },
  "hsl": {
    "h": 58.667,
    "s": 36,
    "l": 50.98
  },
  "oklch": {
    "l": 0.73071,
    "c": 0.11109,
    "h": 107.7
  },
  "luminance": 0.39657
}

Semantic roles & 50–950 ramp

primary
#AFAD55
secondary
#9C9DC4
accent
#5ECC5C
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#13120B
muted
#82817C

Preview Lab

Preview with #AFAD55

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

Preview Lab → · Contrast checker → · Palette generator →

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