#AFA455#AFA455

#AFA455 is a light, moderate yellow. Relative luminance 0.363; OKLCH L 71.1% C 0.102 H 101.5°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#AFA455
RGBrgb(175, 164, 85)
HSLhsl(53, 36%, 51%)
HSVhsv(53, 51%, 69%)
CMYKcmyk(0%, 6.3%, 51.4%, 31.4%)
CIE-LABlab(66.77, -6.77, 42.03)
CIE-LCHlch(66.77, 42.57, 99.15°)
OKLaboklab(71.12% -0.0202 0.0995)
OKLCHoklch(71.12% 0.102 101.5)
XYZxyz(32.5953, 36.3219, 13.8864)
Luminance0.3632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA455 #5560AF
analogous
#AF7755 #AFA455 #8DAF55
triadic
#AFA455 #55AFA4 #A455AF
tetradic
#AFA455 #55AF77 #5560AF #AF558D
square
#AFA455 #55AF77 #5560AF #AF558D
split-complementary
#AFA455 #558DAF #7755AF
monochromatic
#5E582C #877E40 #AFA455 #C3BA7F #D6D1A8

Accessibility & contrast

On white

2.54
#AFA455 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#AFA455 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA455
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA455#FFFFFF#000000##000000
##AFA4551.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A04E
Deuteranopia (green-blind)
#B4A559
Tritanopia (blue-blind)
#BA9A92
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #afa455;
/* rgb */ color: rgb(175, 164, 85);
/* oklch */ color: oklch(71.1% 0.102 101.5);
Tailwind
colors: {
  custom: {
    50: '#c9be87',
    500: '#afa455',
    950: '#000000',
  },
}
SCSS
$custom: #afa455;
$custom-light: #c9be87;
$custom-dark: #000000;
JSON
{
  "hex": "#afa455",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 85
  },
  "hsl": {
    "h": 52.667,
    "s": 36,
    "l": 50.98
  },
  "oklch": {
    "l": 0.71116,
    "c": 0.10152,
    "h": 101.5
  },
  "luminance": 0.36321
}

Semantic roles & 50–950 ramp

primary
#AFA455
secondary
#9CA1C4
accent
#69CC5C
background
#FCFBF8
surface
#F9F6F0
border
#D2D0CB
text
#13120B
muted
#82817C

Preview Lab

Preview with #AFA455

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

Preview Lab → · Contrast checker → · Palette generator →

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