#AFAC55#AFAC55

#AFAC55 is a light, moderate yellow. Relative luminance 0.393; OKLCH L 72.9% C 0.110 H 107.1°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#AFAC55
RGBrgb(175, 172, 85)
HSLhsl(58, 36%, 51%)
HSVhsv(58, 51%, 69%)
CMYKcmyk(0%, 1.7%, 51.4%, 31.4%)
CIE-LABlab(68.95, -10.98, 44.62)
CIE-LCHlch(68.95, 45.95, 103.82°)
OKLaboklab(72.85% -0.0322 0.1051)
OKLCHoklch(72.85% 0.11 107.1)
XYZxyz(34.0723, 39.2758, 14.3787)
Luminance0.3927 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAC55 #5558AF
analogous
#AF7F55 #AFAC55 #85AF55
triadic
#AFAC55 #55AFAC #AC55AF
tetradic
#AFAC55 #55AF7F #5558AF #AF5585
square
#AFAC55 #55AF7F #5558AF #AF5585
split-complementary
#AFAC55 #5585AF #7F55AF
monochromatic
#5E5C2C #878540 #AFAC55 #C3C07F #D6D5A8

Accessibility & contrast

On white

2.37
#AFAC55 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#AFAC55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAC55
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAC55#FFFFFF#000000##000000
##AFAC551.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A64D
Deuteranopia (green-blind)
#BAAA59
Tritanopia (blue-blind)
#BAA398
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #afac55;
/* rgb */ color: rgb(175, 172, 85);
/* oklch */ color: oklch(72.9% 0.110 107.1);
Tailwind
colors: {
  custom: {
    50: '#c9c487',
    500: '#afac55',
    950: '#000000',
  },
}
SCSS
$custom: #afac55;
$custom-light: #c9c487;
$custom-dark: #000000;
JSON
{
  "hex": "#afac55",
  "rgb": {
    "r": 175,
    "g": 172,
    "b": 85
  },
  "hsl": {
    "h": 58,
    "s": 36,
    "l": 50.98
  },
  "oklch": {
    "l": 0.72852,
    "c": 0.10997,
    "h": 107.1
  },
  "luminance": 0.39275
}

Semantic roles & 50–950 ramp

primary
#AFAC55
secondary
#9C9DC4
accent
#60CC5C
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#13120B
muted
#82817C

Preview Lab

Preview with #AFAC55

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

Preview Lab → · Contrast checker → · Palette generator →

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