#AFA554#AFA554

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

Color values

HEX#AFA554
RGBrgb(175, 165, 84)
HSLhsl(53, 36%, 51%)
HSVhsv(53, 52%, 69%)
CMYKcmyk(0%, 5.7%, 52%, 31.4%)
CIE-LABlab(67.03, -7.39, 42.83)
CIE-LCHlch(67.03, 43.47, 99.78°)
OKLaboklab(71.32% -0.0221 0.1012)
OKLCHoklch(71.32% 0.104 102.3)
XYZxyz(32.7355, 36.6654, 13.7385)
Luminance0.3666 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA554 #545EAF
analogous
#AF7754 #AFA554 #8BAF54
triadic
#AFA554 #54AFA5 #A554AF
tetradic
#AFA554 #54AF77 #545EAF #AF548B
square
#AFA554 #54AF77 #545EAF #AF548B
split-complementary
#AFA554 #548BAF #7754AF
monochromatic
#5D582C #877F3F #AFA554 #C3BB7E #D6D1A7

Accessibility & contrast

On white

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

On black

8.33
#AFA554 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA554
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA554#FFFFFF#000000##000000
##AFA5541.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A04D
Deuteranopia (green-blind)
#B5A558
Tritanopia (blue-blind)
#BA9B92
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #afa554;
/* rgb */ color: rgb(175, 165, 84);
/* oklch */ color: oklch(71.3% 0.104 102.3);
Tailwind
colors: {
  custom: {
    50: '#c9bf86',
    500: '#afa554',
    950: '#000000',
  },
}
SCSS
$custom: #afa554;
$custom-light: #c9bf86;
$custom-dark: #000000;
JSON
{
  "hex": "#afa554",
  "rgb": {
    "r": 175,
    "g": 165,
    "b": 84
  },
  "hsl": {
    "h": 53.407,
    "s": 36.255,
    "l": 50.784
  },
  "oklch": {
    "l": 0.71318,
    "c": 0.10354,
    "h": 102.3
  },
  "luminance": 0.36664
}

Semantic roles & 50–950 ramp

primary
#AFA554
secondary
#9BA0C4
accent
#68CC5C
background
#FCFBF8
surface
#F9F7EF
border
#D2D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #AFA554

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

Preview Lab → · Contrast checker → · Palette generator →

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